mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
python37Packages.GitPython: fix build
This commit is contained in:
parent
fffffebd0f
commit
42e7b366b3
@ -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 New Issue
Block a user