depot/third_party/nixpkgs/pkgs/development/python-modules/ldaptor/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

37 lines
715 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, twisted
, passlib
, pycrypto
, pyopenssl
, pyparsing
, service-identity
, zope_interface
, isPy3k
}:
buildPythonPackage rec {
pname = "ldaptor";
version = "20.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "778f45d68a0b5d63a892c804c05e57b464413a41d8ae52f92ae569321473ab67";
};
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;
};
}