2018-07-21 01:44:44 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2018-03-02 01:19:38 +00:00
|
|
|
, pbr, ldap, fixtures, testresources, testtools }:
|
2018-03-02 01:03:28 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "ldappool-${version}";
|
2018-09-24 12:35:05 +01:00
|
|
|
version = "2.2.0";
|
2018-03-02 01:03:28 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "ldappool";
|
|
|
|
inherit version;
|
2018-09-24 12:35:05 +01:00
|
|
|
sha256 = "1akmzf51cjfvmd0nvvm562z1w9vq45zsx6fa72kraqgsgxhnrhqz";
|
2018-03-02 01:03:28 +00:00
|
|
|
};
|
|
|
|
|
2018-03-02 01:19:38 +00:00
|
|
|
nativeBuildInputs = [ pbr ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ldap ];
|
|
|
|
|
|
|
|
checkInputs = [ fixtures testresources testtools ];
|
2018-03-02 01:03:28 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2018-03-02 01:19:38 +00:00
|
|
|
description = "A simple connector pool for python-ldap";
|
|
|
|
homepage = https://git.openstack.org/cgit/openstack/ldappool;
|
|
|
|
license = licenses.mpl20;
|
2018-03-02 01:03:28 +00:00
|
|
|
};
|
|
|
|
}
|