about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ldappool/default.nix
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-02 02:19:38 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-02 02:19:38 +0100
commit3680fc9fd44f634b328151d5cb30827ef97c310b (patch)
treece2916261a4dd146a5ab362917dfb9e2104d0cf6 /pkgs/development/python-modules/ldappool/default.nix
parentf14c9ae8837ce1349b6a08edf8a033ec2f653164 (diff)
pythonPackages.ldappool: 1.0 -> 2.2.0
Diffstat (limited to 'pkgs/development/python-modules/ldappool/default.nix')
-rw-r--r--pkgs/development/python-modules/ldappool/default.nix16
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/ldappool/default.nix b/pkgs/development/python-modules/ldappool/default.nix
index 83a731936a89d..58ca72a3dc984 100644
--- a/pkgs/development/python-modules/ldappool/default.nix
+++ b/pkgs/development/python-modules/ldappool/default.nix
@@ -1,8 +1,9 @@
-{ lib, buildPythonPackage, fetchPypi, isPy3k }:
+{ lib, buildPythonPackage, fetchPypi, isPy3k
+, pbr, ldap, fixtures, testresources, testtools }:
 
 buildPythonPackage rec {
   name = "ldappool-${version}";
-  version = "1.0";
+  version = "2.2.0";
 
   src = fetchPypi {
     pname = "ldappool";
@@ -10,10 +11,15 @@ buildPythonPackage rec {
     sha256 = "1akmzf51cjfvmd0nvvm562z1w9vq45zsx6fa72kraqgsgxhnrhqz";
   };
 
-  # Judging from SyntaxError
-  disabled = isPy3k;
+  nativeBuildInputs = [ pbr ];
+
+  propagatedBuildInputs = [ ldap ];
+
+  checkInputs = [ fixtures testresources testtools ];
 
   meta = with lib; {
-    homepage = "https://github.com/mozilla-services/ldappool";
+    description = "A simple connector pool for python-ldap";
+    homepage = https://git.openstack.org/cgit/openstack/ldappool;
+    license = licenses.mpl20;
   };
 }