3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #114733 from dotlambda/ldaptor-21.2.0

python3Packages.ldaptor: 20.1.1 -> 21.2.0
This commit is contained in:
Sandro 2021-03-01 11:16:52 +01:00 committed by GitHub
commit 9a55d0b373
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,25 +8,23 @@
, service-identity
, zope_interface
, isPy3k
, pythonAtLeast
, python
}:
buildPythonPackage rec {
pname = "ldaptor";
version = "20.1.1";
version = "21.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "778f45d68a0b5d63a892c804c05e57b464413a41d8ae52f92ae569321473ab67";
sha256 = "sha256-jEnrGTddSqs+W4NYYGFODLF+VrtaIOGHSAj6W+xno1g=";
};
propagatedBuildInputs = [
twisted passlib pyopenssl pyparsing service-identity zope_interface
];
# https://github.com/twisted/ldaptor/pull/210
disabled = !isPy3k || pythonAtLeast "3.9";
disabled = !isPy3k;
checkPhase = ''
${python.interpreter} -m twisted.trial ldaptor