python3Packages.ldaptor: 20.1.1 -> 21.2.0

This commit is contained in:
Robert Schütz 2021-03-01 09:26:48 +01:00
parent 77e75f1ed1
commit eced6b7a96
1 changed files with 3 additions and 5 deletions

View File

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