summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-01-24 10:27:11 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-01-24 10:27:49 +0100
commitee82616089ff920792b6c265068902c4fa3d4f7f (patch)
tree9c05ae9aeb68dfeaee01364778dcad1512d01737 /pkgs/development/python-modules/GitPython
parentpython.pkgs.GitPython: use patch to specify path to git (diff)
downloadnixpkgs-ee82616089ff920792b6c265068902c4fa3d4f7f.tar.gz
python.pkgs.GitPython: move ddt to propagatedBuildInputs
It is listed in requirements.txt, not test-requirements.txt.
Diffstat (limited to 'pkgs/development/python-modules/GitPython')
-rw-r--r--pkgs/development/python-modules/GitPython/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/GitPython/default.nix b/pkgs/development/python-modules/GitPython/default.nix
index 2e011906dc34..24fe4a2458d6 100644
--- a/pkgs/development/python-modules/GitPython/default.nix
+++ b/pkgs/development/python-modules/GitPython/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildPythonPackage, fetchPypi, substituteAll, git, gitdb2, mock, nose, ddt }:
+{ lib, buildPythonPackage, fetchPypi, isPy27, substituteAll, git, gitdb2, mock, nose, ddt }:
buildPythonPackage rec {
version = "2.1.11";
@@ -16,8 +16,8 @@ buildPythonPackage rec {
})
];
- checkInputs = [ mock nose ddt ];
- propagatedBuildInputs = [ gitdb2 ];
+ checkInputs = [ nose ] ++ lib.optional isPy27 mock;
+ propagatedBuildInputs = [ gitdb2 ddt ];
# Tests require a git repo
doCheck = false;