3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.ldappool: fix build

This commit is contained in:
Fabian Affolter 2021-01-09 12:20:10 +01:00 committed by Jonathan Ringer
parent 33796d9695
commit 2133165afd

View file

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