python3Packages.python-ldap: 3.4.4 -> 3.4.5

https://github.com/python-ldap/python-ldap/releases/tag/python-ldap-3.4.5

Fixes: CVE-2025-61911, CVE-2025-61912
This commit is contained in:
Martin Weinelt
2025-10-11 02:59:24 +02:00
parent 151ad2221f
commit 8619190cc7
@@ -1,9 +1,7 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
# build-system
distutils,
@@ -23,18 +21,21 @@
buildPythonPackage rec {
pname = "python-ldap";
version = "3.4.4";
version = "3.4.5";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "python-ldap";
repo = "python-ldap";
tag = "python-ldap-${version}";
hash = "sha256-v1cWoRGxbvvFnHqnwoIfmiQQcxfaA8Bf3+M5bE5PtuU=";
hash = "sha256-olRu5HacRKaAcNbQczA+UCbDxhySUOO7qH0KdWlSbT0=";
};
postPatch = ''
# unused in 3.4.5; https://github.com/python-ldap/python-ldap/pull/597
sed -i "/setuptools-scm/d" pyproject.toml
'';
build-system = [
distutils
setuptools