diff --git a/pkgs/development/python-modules/coreapi/default.nix b/pkgs/development/python-modules/coreapi/default.nix index 6a0dd2026df4..fb4647409ac8 100644 --- a/pkgs/development/python-modules/coreapi/default.nix +++ b/pkgs/development/python-modules/coreapi/default.nix @@ -2,12 +2,12 @@ lib, fetchFromGitHub, buildPythonPackage, - pythonAtLeast, django, coreschema, itypes, uritemplate, requests, + standard-cgi, pytest, }: @@ -16,9 +16,6 @@ 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"; @@ -32,6 +29,7 @@ buildPythonPackage rec { itypes uritemplate requests + standard-cgi ]; nativeCheckInputs = [ pytest ];