24 buildPythonPackage rec {
29 disabled = pythonOlder "3.8";
31 src = fetchFromGitHub {
34 rev = "refs/tags/${version}";
35 hash = "sha256-fUi+/PW05EvgTnoEv1Im1BjZ07VzpZhyW0EjhLUqJGI=";
39 substituteInPlace pyproject.toml \
40 --replace-fail ', "setuptools_scm_git_archive==1.4.1"' ""
41 substituteInPlace setup.cfg \
42 --replace-fail " --cov=gto --cov-report=term-missing --cov-report=xml" ""
51 propagatedBuildInputs = [
72 export HOME=$(mktemp -d)
74 git config --global user.email "nobody@example.com"
75 git config --global user.name "Nobody"
79 # Tests want to with a remote repo
82 "test_action_doesnt_push_even_if_repo_has_remotes_set"
85 pythonImportsCheck = [
90 description = "Module for Git Tag Operations";
91 homepage = "https://github.com/iterative/gto";
92 changelog = "https://github.com/iterative/gto/releases/tag/${version}";
93 license = licenses.asl20;
94 maintainers = with maintainers; [ fab ];