|
|
|
@ -3,12 +3,13 @@ |
|
|
|
|
, fetchPypi |
|
|
|
|
, twisted |
|
|
|
|
, passlib |
|
|
|
|
, pycrypto |
|
|
|
|
, pyopenssl |
|
|
|
|
, pyparsing |
|
|
|
|
, service-identity |
|
|
|
|
, zope_interface |
|
|
|
|
, isPy3k |
|
|
|
|
, pythonAtLeast |
|
|
|
|
, python |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
@ -21,13 +22,15 @@ buildPythonPackage rec { |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
twisted passlib pycrypto pyopenssl pyparsing service-identity zope_interface |
|
|
|
|
twisted passlib pyopenssl pyparsing service-identity zope_interface |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
disabled = isPy3k; |
|
|
|
|
# https://github.com/twisted/ldaptor/pull/210 |
|
|
|
|
disabled = !isPy3k || pythonAtLeast "3.9"; |
|
|
|
|
|
|
|
|
|
# TypeError: None is neither bytes nor unicode |
|
|
|
|
doCheck = false; |
|
|
|
|
checkPhase = '' |
|
|
|
|
${python.interpreter} -m twisted.trial ldaptor |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = { |
|
|
|
|
description = "A Pure-Python Twisted library for LDAP"; |
|
|
|
|