about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ldappool/default.nix
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-01-09 12:20:10 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-09 14:44:02 -0800
commit2133165afd23db5959ed0f5d598a5d333f6e8342 (patch)
treec574376b1a08fd69691ded844175d36a689f77e3 /pkgs/development/python-modules/ldappool/default.nix
parent33796d96956e8ffdb7b6715e35997d715c6d7401 (diff)
python3Packages.ldappool: fix build
Diffstat (limited to 'pkgs/development/python-modules/ldappool/default.nix')
-rw-r--r--pkgs/development/python-modules/ldappool/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/ldappool/default.nix b/pkgs/development/python-modules/ldappool/default.nix
index d1b9da15cc5f2..bc08633da8b47 100644
--- a/pkgs/development/python-modules/ldappool/default.nix
+++ b/pkgs/development/python-modules/ldappool/default.nix
@@ -14,6 +14,8 @@ buildPythonPackage rec {
   postPatch = ''
     # Tests run without most of the dependencies
     echo "" > test-requirements.txt
+    # PrettyTable is now maintained again
+    substituteInPlace requirements.txt --replace "PrettyTable<0.8,>=0.7.2" "PrettyTable"
   '';
 
   nativeBuildInputs = [ pbr ];
@@ -24,7 +26,7 @@ buildPythonPackage rec {
 
   meta = with lib; {
     description = "A simple connector pool for python-ldap";
-    homepage = "https://git.openstack.org/cgit/openstack/ldappool";
-    license = licenses.mpl20;
+    homepage = "https://opendev.org/openstack/ldappool/";
+    license = with licenses; [ mpl11 lgpl21Plus gpl2Plus ];
   };
 }