diff --git a/pkgs/development/python-modules/coreapi/default.nix b/pkgs/development/python-modules/coreapi/default.nix index d620f6fb4e22..f70b8a73a65e 100644 --- a/pkgs/development/python-modules/coreapi/default.nix +++ b/pkgs/development/python-modules/coreapi/default.nix @@ -2,6 +2,7 @@ lib, fetchFromGitHub, buildPythonPackage, + pythonAtLeast, django, coreschema, itypes, @@ -15,6 +16,9 @@ buildPythonPackage rec { version = "2.3.3"; format = "setuptools"; + # cgi module was removed in 3.13, upstream repo archived since 2019 + disabled = pythonAtLeast "3.13"; + src = fetchFromGitHub { repo = "python-client"; owner = "core-api";