git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #58833 from r-ryantm/auto-update/python3.7-python-ldap

python37Packages.ldap: 3.1.0 -> 3.2.0

commit24406568e6264c197ed3d5b53475fc29c3a495e8 authorRobert Schütz <rschuetz17@gmail.com> dateFri 5 Apr 2019, 19:29 (8 years ago) parent4b6a962836621f
2 files changed+15−4
pkgs/development/python-modules/ldap/default.nix+8−2 pkgs/development/python-modules/ldappool/default.nix+7−2
pkgs/development/python-modules/ldap/default.nix+8−2
@@ -4,11 +4,11 @@
44
55buildPythonPackage rec {
66 pname = "python-ldap";
7− version = "3.1.0";
7+ version = "3.2.0";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "41975e79406502c092732c57ef0c2c2eb318d91e8e765f81f5d4ab6c1db727c5";
11+ sha256 = "13nvrhp85yr0jyxixcjj012iw8l9wynxxlykm9j3alss6waln73x";
1212 };
1313
1414 propagatedBuildInputs = [ pyasn1 pyasn1-modules ];
@@ -28,4 +28,10 @@ buildPythonPackage rec {
2828 '';
2929
3030 doCheck = !stdenv.isDarwin;
31+
32+ meta = with stdenv.lib; {
33+ description = "Python modules for implementing LDAP clients";
34+ homepage = https://www.python-ldap.org/;
35+ license = licenses.psfl;
36+ };
3137}
pkgs/development/python-modules/ldappool/default.nix+7−2
@@ -1,5 +1,5 @@
11{ lib, buildPythonPackage, fetchPypi
2−, pbr, ldap, fixtures, testresources, testtools }:
2+, pbr, ldap, prettytable, fixtures, testresources, testtools }:
33
44buildPythonPackage rec {
55 name = "ldappool-${version}";
@@ -11,9 +11,14 @@ buildPythonPackage rec {
1111 sha256 = "d9c9ec29be3f3e64164be84fe080a3087108836f307a12ec62f7d18988293df3";
1212 };
1313
14+ postPatch = ''
15+ # Tests run without most of the dependencies
16+ echo "" > test-requirements.txt
17+ '';
18+
1419 nativeBuildInputs = [ pbr ];
1520
16− propagatedBuildInputs = [ ldap ];
21+ propagatedBuildInputs = [ ldap prettytable ];
1722
1823 checkInputs = [ fixtures testresources testtools ];
1924