mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
38 lines
715 B
Nix
38 lines
715 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, twisted
|
|
, passlib
|
|
, pycrypto
|
|
, pyopenssl
|
|
, pyparsing
|
|
, service-identity
|
|
, zope_interface
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ldaptor";
|
|
version = "19.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "64c7b870c77e34e4f5f9cfdf330b9702e89b4dd0f64275704f86c1468312c755";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
twisted passlib pycrypto pyopenssl pyparsing service-identity zope_interface
|
|
];
|
|
|
|
disabled = isPy3k;
|
|
|
|
# TypeError: None is neither bytes nor unicode
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "A Pure-Python Twisted library for LDAP";
|
|
homepage = "https://github.com/twisted/ldaptor";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|