nixpkgs/pkgs/development/python-modules/ldap3/default.nix
2018-06-22 13:09:19 +02:00

24 lines
568 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, gssapi, pyasn1 }:
buildPythonPackage rec {
version = "2.5";
pname = "ldap3";
src = fetchPypi {
inherit pname version;
sha256 = "55078bbc981f715a8867b4c040402627fdfccf5664e0277a621416559748e384";
};
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;
};
}