1{ lib, buildPythonPackage, fetchPypi, isPy3k
2, pbr, ldap, fixtures, testresources, testtools }:
3
4buildPythonPackage rec {
5 name = "ldappool-${version}";
6 version = "2.2.0";
7
8 src = fetchPypi {
9 pname = "ldappool";
10 inherit version;
11 sha256 = "1akmzf51cjfvmd0nvvm562z1w9vq45zsx6fa72kraqgsgxhnrhqz";
12 };
13
14 nativeBuildInputs = [ pbr ];
15
16 propagatedBuildInputs = [ ldap ];
17
18 checkInputs = [ fixtures testresources testtools ];
19
20 meta = with lib; {
21 description = "A simple connector pool for python-ldap";
22 homepage = https://git.openstack.org/cgit/openstack/ldappool;
23 license = licenses.mpl20;
24 };
25}