Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 93 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394{ lib, buildPythonPackage, cacert, entrypoints, fetchFromGitHub, freezegun, funcy, gitMinimal, pydantic, pytest-cov-stub, pytest-mock, pytest-test-utils, pytestCheckHook, pythonOlder, rich, ruamel-yaml, scmrepo, semver, setuptools-scm, setuptools, tabulate, typer,}:
buildPythonPackage rec { pname = "gto"; version = "1.7.2"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "iterative"; repo = "gto"; tag = version; hash = "sha256-8ht22RqiGWqDoBrZnX5p3KKOLVPRm1a54962qKlTK4Q="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ entrypoints funcy pydantic rich ruamel-yaml scmrepo semver tabulate typer ];
nativeCheckInputs = [ freezegun gitMinimal pytest-cov-stub pytest-mock pytest-test-utils pytestCheckHook ];
preCheck = '' export HOME=$(mktemp -d)
git config --global user.email "nobody@example.com" git config --global user.name "Nobody"
# _pygit2.GitError: OpenSSL error: failed to load certificates: error:00000000:lib(0)::reason(0) export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt '';
disabledTests = [ # Tests want to with a remote repo "remote_repo" "remote_git_repo" "test_action_doesnt_push_even_if_repo_has_remotes_set" ];
pythonImportsCheck = [ "gto" ];
meta = with lib; { description = "Module for Git Tag Operations"; homepage = "https://github.com/iterative/gto"; changelog = "https://github.com/iterative/gto/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; mainProgram = "gto"; };}