at master 872 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pbr, 7 python-ldap, 8 prettytable, 9 six, 10 unittestCheckHook, 11 fixtures, 12 testresources, 13 testtools, 14}: 15 16buildPythonPackage rec { 17 pname = "ldappool"; 18 version = "3.0.0"; 19 pyproject = true; 20 21 src = fetchPypi { 22 pname = "ldappool"; 23 inherit version; 24 hash = "sha256-S7WbfWsRQH9I7gGngSZ+PIupjZH0JoBqxyCGEq4Ie4Y="; 25 }; 26 27 build-system = [ 28 setuptools 29 pbr 30 ]; 31 32 dependencies = [ 33 python-ldap 34 prettytable 35 six 36 ]; 37 38 nativeCheckInputs = [ 39 unittestCheckHook 40 fixtures 41 testresources 42 testtools 43 ]; 44 45 pythonImportsCheck = [ "ldappool" ]; 46 47 meta = with lib; { 48 description = "Simple connector pool for python-ldap"; 49 homepage = "https://opendev.org/openstack/ldappool/"; 50 license = with licenses; [ 51 mpl11 52 lgpl21Plus 53 gpl2Plus 54 ]; 55 }; 56}