diff options
| author | Robert Schütz <dev@schuetz-co.de> | 2021-06-21 15:55:03 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-06-22 13:42:55 +0200 |
| commit | 42e7b366b3ff5c3f1585c8e18fc8d18dd36ae74c (patch) | |
| tree | a1fbca73b57225da713a7e829d698558b487bdcf /pkgs/development/python-modules/GitPython | |
| parent | fffffebd0f27e304ed3f22672d1ddfcf43c62126 (diff) | |
python37Packages.GitPython: fix build
Diffstat (limited to 'pkgs/development/python-modules/GitPython')
| -rw-r--r-- | pkgs/development/python-modules/GitPython/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/GitPython/default.nix b/pkgs/development/python-modules/GitPython/default.nix index 18da4d949992..eda574e69cb8 100644 --- a/pkgs/development/python-modules/GitPython/default.nix +++ b/pkgs/development/python-modules/GitPython/default.nix @@ -6,6 +6,8 @@ , git , gitdb , ddt +, pythonOlder +, typing-extensions }: buildPythonPackage rec { @@ -25,7 +27,12 @@ buildPythonPackage rec { }) ]; - propagatedBuildInputs = [ gitdb ddt ]; + propagatedBuildInputs = [ + gitdb + ddt + ] ++ lib.optionals (pythonOlder "3.8") [ + typing-extensions + ]; # Tests require a git repo doCheck = false; |
