python2Packages.privacyidea-ldap-proxy: fix python2 build
This commit is contained in:
parent
5b29b74b71
commit
67e49dbbb7
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, twisted
|
||||
, passlib
|
||||
, pyopenssl
|
||||
, pyparsing
|
||||
, service-identity
|
||||
, zope_interface
|
||||
, isPy3k
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ldaptor";
|
||||
version = "19.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "64c7b870c77e34e4f5f9cfdf330b9702e89b4dd0f64275704f86c1468312c755";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
twisted passlib pyopenssl pyparsing service-identity zope_interface
|
||||
];
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A Pure-Python Twisted library for LDAP";
|
||||
homepage = "https://github.com/twisted/ldaptor";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
|
@ -385,6 +385,8 @@ with self; with super; {
|
|||
|
||||
privacyidea-ldap-proxy = callPackage ../development/python-modules/privacyidea/ldap-proxy.nix { };
|
||||
|
||||
ldaptor = callPackage ../development/python-modules/ldaptor/19.nix { };
|
||||
|
||||
progressbar231 = callPackage ../development/python-modules/progressbar231 { };
|
||||
|
||||
prompt_toolkit = callPackage ../development/python-modules/prompt_toolkit/1.nix { };
|
||||
|
|
Loading…
Reference in New Issue