git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.ldappool: fix build
commit836621f33b5d2895eac72f59f172ca508ef6b1ef authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateFri 5 Apr 2019, 19:19 (8 years ago) parente94148e
1 file changed+7−2
pkgs/development/python-modules/ldappool/default.nix+7−2
pkgs/development/python-modules/ldappool/default.nix+7−2
@@ -1,5 +1,5 @@
11{ lib, buildPythonPackage, fetchPypi
2−, pbr, ldap, fixtures, testresources, testtools }:
2+, pbr, ldap, prettytable, fixtures, testresources, testtools }:
33
44buildPythonPackage rec {
55 name = "ldappool-${version}";
@@ -11,9 +11,14 @@ buildPythonPackage rec {
1111 sha256 = "d9c9ec29be3f3e64164be84fe080a3087108836f307a12ec62f7d18988293df3";
1212 };
1313
14+ postPatch = ''
15+ # Tests run without most of the dependencies
16+ echo "" > test-requirements.txt
17+ '';
18+
1419 nativeBuildInputs = [ pbr ];
1520
16− propagatedBuildInputs = [ ldap ];
21+ propagatedBuildInputs = [ ldap prettytable ];
1722
1823 checkInputs = [ fixtures testresources testtools ];
1924