about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ldaptor
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-01-07 10:20:35 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-01-07 10:20:35 +0100
commitca72b38fcd97963c8a5c3741b510cdeda7999f31 (patch)
tree982cc4b5ad306657e2d0029deb2c2cef4b851c78 /pkgs/development/python-modules/ldaptor
parent08f2bd45a373e0328a5f1a081ed25a43c2cbab13 (diff)
python.pkgs.ldaptor: init at 16.0.1
Diffstat (limited to 'pkgs/development/python-modules/ldaptor')
-rw-r--r--pkgs/development/python-modules/ldaptor/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ldaptor/default.nix b/pkgs/development/python-modules/ldaptor/default.nix
new file mode 100644
index 0000000000000..4eab700ff1405
--- /dev/null
+++ b/pkgs/development/python-modules/ldaptor/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, twisted
+, pycrypto
+, pyopenssl
+, pyparsing
+, zope_interface
+, isPy3k
+}:
+
+buildPythonPackage rec {
+  pname = "ldaptor";
+  version = "16.0.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "6b9ebe5814e9e7091703c4e3bfeae73b46508b4678e2ff403cddaedf8213815d";
+  };
+
+  propagatedBuildInputs = [
+    twisted pycrypto pyopenssl pyparsing zope_interface
+  ];
+
+  disabled = isPy3k;
+
+  # TypeError: None is neither bytes nor unicode
+  doCheck = false;
+
+  meta = {
+    description = "A Pure-Python Twisted library for LDAP";
+    homepage = https://github.com/twisted/ldaptor;
+    license = lib.licenses.mit;
+  };
+}
\ No newline at end of file