python312Packages.python-ldap: disable on python 3.12

This commit is contained in:
seth 2024-05-09 15:21:39 -04:00
parent ac34158a82
commit 00d992d044
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86

View file

@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pythonAtLeast
, pythonOlder
# build-system
@ -24,7 +25,7 @@ buildPythonPackage rec {
version = "3.4.4";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.6" || pythonAtLeast "3.12"; # requires distutils
src = fetchFromGitHub {
owner = "python-ldap";