1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

python.pkgs.ldappool: fix build

This commit is contained in:
Robert Schütz 2019-04-05 19:19:42 +02:00
parent e94148eded
commit 836621f33b

View file

@ -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 ];