nixpkgs/pkgs/development/python-modules/ldap3/default.nix

24 lines
568 B
Nix
Raw Normal View History

2017-11-02 23:36:38 +00:00
{ stdenv, fetchPypi, buildPythonPackage, gssapi, pyasn1 }:
buildPythonPackage rec {
2018-06-12 17:47:02 +01:00
version = "2.5";
2017-11-02 23:36:38 +00:00
pname = "ldap3";
src = fetchPypi {
inherit pname version;
2018-06-12 17:47:02 +01:00
sha256 = "55078bbc981f715a8867b4c040402627fdfccf5664e0277a621416559748e384";
2017-11-02 23:36:38 +00:00
};
buildInputs = [ gssapi ];
propagatedBuildInputs = [ pyasn1 ];
doCheck = false; # requires network
meta = with stdenv.lib; {
homepage = https://pypi.python.org/pypi/ldap3;
description = "A strictly RFC 4510 conforming LDAP V3 pure Python client library";
license = licenses.lgpl3;
};
}