Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 755 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, pbr, ldap, prettytable, fixtures, testresources, testtools }: 3 4buildPythonPackage rec { 5 pname = "ldappool"; 6 version = "2.4.1"; 7 8 src = fetchPypi { 9 pname = "ldappool"; 10 inherit version; 11 sha256 = "23edef09cba4b1ae764f1ddada828d8e39d72cf32a457e599f5a70064310ea00"; 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}