Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 763 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, pbr, ldap, prettytable, fixtures, testresources, testtools }: 3 4buildPythonPackage rec { 5 name = "ldappool-${version}"; 6 version = "2.4.0"; 7 8 src = fetchPypi { 9 pname = "ldappool"; 10 inherit version; 11 sha256 = "d9c9ec29be3f3e64164be84fe080a3087108836f307a12ec62f7d18988293df3"; 12 }; 13 14 postPatch = '' 15 # Tests run without most of the dependencies 16 echo "" > test-requirements.txt 17 ''; 18 19 nativeBuildInputs = [ pbr ]; 20 21 propagatedBuildInputs = [ ldap prettytable ]; 22 23 checkInputs = [ fixtures testresources testtools ]; 24 25 meta = with lib; { 26 description = "A simple connector pool for python-ldap"; 27 homepage = https://git.openstack.org/cgit/openstack/ldappool; 28 license = licenses.mpl20; 29 }; 30}