diff --git a/pkgs/development/python-modules/ldap3/default.nix b/pkgs/development/python-modules/ldap3/default.nix index 0f5aa1bf18ae..4d4b6997409a 100644 --- a/pkgs/development/python-modules/ldap3/default.nix +++ b/pkgs/development/python-modules/ldap3/default.nix @@ -24,6 +24,8 @@ buildPythonPackage rec { prePatch = '' # patch fails to apply because of line endings dos2unix ldap3/utils/asn1.py + substituteInPlace _version.json \ + --replace-fail '"version": "2.9",' '"version": "${version}",' ''; patches = [ @@ -52,7 +54,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/cannatag/ldap3"; description = "Strictly RFC 4510 conforming LDAP V3 pure Python client library"; - license = licenses.lgpl3; + license = licenses.lgpl3Plus; maintainers = [ ]; }; }