python3Packages.backports-strenum: make null on 3.11 and newer

This commit is contained in:
Martin Weinelt
2026-01-16 01:45:39 +01:00
parent e5c2eb90f7
commit 116f3d0984
+6 -2
View File
@@ -1715,7 +1715,7 @@ self: super: with self; {
backoff = callPackage ../development/python-modules/backoff { };
backports-asyncio-runner =
if pythonAtLeast "3.11" then
if pythonAtLeast "3.12" then
null
else
callPackage ../development/python-modules/backports-asyncio-runner { };
@@ -1730,7 +1730,11 @@ self: super: with self; {
backports-shutil-which = callPackage ../development/python-modules/backports-shutil-which { };
backports-strenum = callPackage ../development/python-modules/backports-strenum { };
backports-strenum =
if pythonAtLeast "3.11" then
null
else
callPackage ../development/python-modules/backports-strenum { };
backports-tarfile = callPackage ../development/python-modules/backports-tarfile { };