mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #172112 from SuperSandro2000/ldaptor
python310Packages.ldaptor: adopt, use twisted.extras-require.tls, mark broken
This commit is contained in:
commit
aa88a6be6f
@ -3,17 +3,18 @@
|
||||
, fetchPypi
|
||||
, twisted
|
||||
, passlib
|
||||
, pyopenssl
|
||||
, pyparsing
|
||||
, service-identity
|
||||
, six
|
||||
, zope_interface
|
||||
, isPy3k
|
||||
, pythonOlder
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ldaptor";
|
||||
version = "21.2.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -21,18 +22,27 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
twisted passlib pyopenssl pyparsing service-identity zope_interface
|
||||
passlib
|
||||
pyparsing
|
||||
six
|
||||
twisted
|
||||
zope_interface
|
||||
] ++ twisted.extras-require.tls;
|
||||
|
||||
checkInputs = [
|
||||
twisted
|
||||
];
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m twisted.trial ldaptor
|
||||
trial -j$NIX_BUILD_CORES ldaptor
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "A Pure-Python Twisted library for LDAP";
|
||||
homepage = "https://github.com/twisted/ldaptor";
|
||||
license = lib.licenses.mit;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
# tests hang or fail with "no space left on device"
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user