python37Packages.GitPython: fix build

This commit is contained in:
Robert Schütz 2021-06-21 15:55:03 +02:00 committed by Martin Weinelt
parent fffffebd0f
commit 42e7b366b3

View file

@ -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;