python312Packages.python-ldap: disable on python 3.12

This commit is contained in:
seth
2024-05-10 03:43:17 -04:00
parent ac34158a82
commit 00d992d044
@@ -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";