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