blob: 3ad0ae3b72323bc5331ffe01790fcdc9b3b2f3eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, buildPythonPackage, fetchPypi
, pbr, ldap, prettytable, fixtures, testresources, testtools }:
buildPythonPackage rec {
name = "ldappool-${version}";
version = "2.4.0";
src = fetchPypi {
pname = "ldappool";
inherit version;
sha256 = "d9c9ec29be3f3e64164be84fe080a3087108836f307a12ec62f7d18988293df3";
};
postPatch = ''
# Tests run without most of the dependencies
echo "" > test-requirements.txt
'';
nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [ ldap prettytable ];
checkInputs = [ fixtures testresources testtools ];
meta = with lib; {
description = "A simple connector pool for python-ldap";
homepage = https://git.openstack.org/cgit/openstack/ldappool;
license = licenses.mpl20;
};
}
|