python3Packages.python-ldap: 3.4.4 -> 3.4.5 (#450778)
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
pythonOlder,
|
|
||||||
|
|
||||||
# build-system
|
# build-system
|
||||||
distutils,
|
distutils,
|
||||||
@@ -23,18 +21,21 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-ldap";
|
pname = "python-ldap";
|
||||||
version = "3.4.4";
|
version = "3.4.5";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "python-ldap";
|
owner = "python-ldap";
|
||||||
repo = "python-ldap";
|
repo = "python-ldap";
|
||||||
tag = "python-ldap-${version}";
|
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 = [
|
build-system = [
|
||||||
distutils
|
distutils
|
||||||
setuptools
|
setuptools
|
||||||
|
|||||||
Reference in New Issue
Block a user