nixpkgs-suyu/pkgs/development/python-modules/ldaptor/default.nix

38 lines
715 B
Nix
Raw Normal View History

2018-01-07 10:20:35 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, twisted
2020-02-22 23:05:18 +01:00
, passlib
2018-01-07 10:20:35 +01:00
, pycrypto
, pyopenssl
, pyparsing
2020-02-22 23:05:18 +01:00
, service-identity
2018-01-07 10:20:35 +01:00
, zope_interface
, isPy3k
}:
buildPythonPackage rec {
pname = "ldaptor";
2019-10-24 08:47:37 +02:00
version = "19.1.0";
2018-01-07 10:20:35 +01:00
src = fetchPypi {
inherit pname version;
2019-10-24 08:47:37 +02:00
sha256 = "64c7b870c77e34e4f5f9cfdf330b9702e89b4dd0f64275704f86c1468312c755";
2018-01-07 10:20:35 +01:00
};
propagatedBuildInputs = [
2020-02-22 23:05:18 +01:00
twisted passlib pycrypto pyopenssl pyparsing service-identity zope_interface
2018-01-07 10:20:35 +01:00
];
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";
2018-01-07 10:20:35 +01:00
license = lib.licenses.mit;
};
2020-02-22 23:05:18 +01:00
}