python37Packages.GitPython: fix build
This commit is contained in:
parent
fffffebd0f
commit
42e7b366b3
1 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue