diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-04-05 19:19:42 +0200 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-04-05 19:19:42 +0200 |
commit | 836621f33b5d2895eac72f59f172ca508ef6b1ef (patch) | |
tree | e4e2dbe6ea4be1f0f3bfbb3622811806331add56 /pkgs/development/python-modules/ldappool | |
parent | e94148edede9afa115f1ab7152c3bee4ccca0520 (diff) |
python.pkgs.ldappool: fix build
Diffstat (limited to 'pkgs/development/python-modules/ldappool')
-rw-r--r-- | pkgs/development/python-modules/ldappool/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/ldappool/default.nix b/pkgs/development/python-modules/ldappool/default.nix index 460d743b1edaf..3ad0ae3b72323 100644 --- a/pkgs/development/python-modules/ldappool/default.nix +++ b/pkgs/development/python-modules/ldappool/default.nix @@ -1,5 +1,5 @@ { lib, buildPythonPackage, fetchPypi -, pbr, ldap, fixtures, testresources, testtools }: +, pbr, ldap, prettytable, fixtures, testresources, testtools }: buildPythonPackage rec { name = "ldappool-${version}"; @@ -11,9 +11,14 @@ buildPythonPackage rec { sha256 = "d9c9ec29be3f3e64164be84fe080a3087108836f307a12ec62f7d18988293df3"; }; + postPatch = '' + # Tests run without most of the dependencies + echo "" > test-requirements.txt + ''; + nativeBuildInputs = [ pbr ]; - propagatedBuildInputs = [ ldap ]; + propagatedBuildInputs = [ ldap prettytable ]; checkInputs = [ fixtures testresources testtools ]; |