summary refs log tree commit diff
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
parente138c1e4e88ffe1058268d5891802447e0b525e0 (diff)
downloadnixpkgs-ee82616089ff920792b6c265068902c4fa3d4f7f.tar
nixpkgs-ee82616089ff920792b6c265068902c4fa3d4f7f.tar.gz
nixpkgs-ee82616089ff920792b6c265068902c4fa3d4f7f.tar.bz2
nixpkgs-ee82616089ff920792b6c265068902c4fa3d4f7f.tar.lz
nixpkgs-ee82616089ff920792b6c265068902c4fa3d4f7f.tar.xz
nixpkgs-ee82616089ff920792b6c265068902c4fa3d4f7f.tar.zst
nixpkgs-ee82616089ff920792b6c265068902c4fa3d4f7f.zip
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 2e011906dc3..24fe4a2458d 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;