python.pkgs.ldap3: 1.0.4 -> 2.3
This commit is contained in:
parent
3cdbc9705d
commit
f255de884b
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, fetchPypi, buildPythonPackage, gssapi, pyasn1 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "2.3";
|
||||||
|
pname = "ldap3";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1b36lwil4iflk2ay8gi663abpnfm8id7qg4n3jkmmqbnc1sv6mn0";
|
||||||
|
};
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -16856,25 +16856,7 @@ in {
|
||||||
inherit (pkgs) openldap cyrus_sasl openssl;
|
inherit (pkgs) openldap cyrus_sasl openssl;
|
||||||
};
|
};
|
||||||
|
|
||||||
ldap3 = buildPythonPackage rec {
|
ldap3 = callPackage ../development/python-modules/ldap3 {};
|
||||||
version = "1.0.4";
|
|
||||||
name = "ldap3-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/l/ldap3/${name}.tar.gz";
|
|
||||||
sha256 = "0j4qqj9vq022hy7wfqn8s0j4vm2g6paabbzas1vbyspawvcfai98";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ gssapi ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pyasn1 ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://pypi.python.org/pypi/ldap3;
|
|
||||||
description = "A strictly RFC 4510 conforming LDAP V3 pure Python client library";
|
|
||||||
license = licenses.lgpl3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ptest = buildPythonPackage rec {
|
ptest = buildPythonPackage rec {
|
||||||
name = pname + "-" + version;
|
name = pname + "-" + version;
|
||||||
|
|
Loading…
Reference in New Issue