python.pkgs.ldap3: 1.0.4 -> 2.3

This commit is contained in:
Joerg Thalheim 2017-11-02 23:36:38 +00:00
parent 3cdbc9705d
commit f255de884b
2 changed files with 25 additions and 19 deletions

View File

@ -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;
};
}

View File

@ -16856,25 +16856,7 @@ in {
inherit (pkgs) openldap cyrus_sasl openssl;
};
ldap3 = buildPythonPackage rec {
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;
};
};
ldap3 = callPackage ../development/python-modules/ldap3 {};
ptest = buildPythonPackage rec {
name = pname + "-" + version;