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