git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.GitPython: move ddt to propagatedBuildInputs

It is listed in requirements.txt, not test-requirements.txt.

commitee82616089ff920792b6c265068902c4fa3d4f7f authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateThu 24 Jan 2019, 10:27 (8 years ago) parente138c1e
1 file changed+3−3
pkgs/development/python-modules/GitPython/default.nix+3−3
pkgs/development/python-modules/GitPython/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ lib, buildPythonPackage, fetchPypi, substituteAll, git, gitdb2, mock, nose, ddt }:
1+{ lib, buildPythonPackage, fetchPypi, isPy27, substituteAll, git, gitdb2, mock, nose, ddt }:
22
33buildPythonPackage rec {
44 version = "2.1.11";
@@ -16,8 +16,8 @@ buildPythonPackage rec {
1616 })
1717 ];
1818
19− checkInputs = [ mock nose ddt ];
20− propagatedBuildInputs = [ gitdb2 ];
19+ checkInputs = [ nose ] ++ lib.optional isPy27 mock;
20+ propagatedBuildInputs = [ gitdb2 ddt ];
2121
2222 # Tests require a git repo
2323 doCheck = false;