mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-22 01:11:02 +03:00
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
|
, git
|
||||||
, gitdb
|
, gitdb
|
||||||
, ddt
|
, ddt
|
||||||
|
, pythonOlder
|
||||||
|
, typing-extensions
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
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
|
# Tests require a git repo
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue