mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
[Backport release-25.05] python3Packages.python-ldap: 3.4.4 -> 3.4.5 (#450863)
This commit is contained in:
@@ -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
|
||||
@@ -68,7 +69,7 @@ buildPythonPackage rec {
|
||||
"test_tls_ext_noca"
|
||||
];
|
||||
|
||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python modules for implementing LDAP clients";
|
||||
|
||||
Reference in New Issue
Block a user