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

24 lines
570 B
Nix
Raw Normal View History

2017-11-03 00:36:38 +01:00
{ stdenv, fetchPypi, buildPythonPackage, gssapi, pyasn1 }:
buildPythonPackage rec {
2018-08-13 09:26:26 +02:00
version = "2.5.1";
2017-11-03 00:36:38 +01:00
pname = "ldap3";
src = fetchPypi {
inherit pname version;
2018-08-13 09:26:26 +02:00
sha256 = "cc09951809678cfb693a13a6011dd2d48ada60a52bd80cb4bd7dcc55ee7c02fd";
2017-11-03 00:36:38 +01: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;
};
}