1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-22 09:20:58 +03:00

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