Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 715 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, twisted 5, passlib 6, pycrypto 7, pyopenssl 8, pyparsing 9, service-identity 10, zope_interface 11, isPy3k 12}: 13 14buildPythonPackage rec { 15 pname = "ldaptor"; 16 version = "19.1.0"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "64c7b870c77e34e4f5f9cfdf330b9702e89b4dd0f64275704f86c1468312c755"; 21 }; 22 23 propagatedBuildInputs = [ 24 twisted passlib pycrypto pyopenssl pyparsing service-identity zope_interface 25 ]; 26 27 disabled = isPy3k; 28 29 # TypeError: None is neither bytes nor unicode 30 doCheck = false; 31 32 meta = { 33 description = "A Pure-Python Twisted library for LDAP"; 34 homepage = "https://github.com/twisted/ldaptor"; 35 license = lib.licenses.mit; 36 }; 37}