python313Packages.standard-cgi: init at 3.13.0
The dead stdlib module library cgi, a stop-gap measure to unbreak important packages.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
unittestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "standard-cgi";
|
||||
version = "3.13.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "youknowone";
|
||||
repo = "python-deadlib";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/cgi";
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
meta = {
|
||||
description = "Python dead batteries. See PEP 594";
|
||||
homepage = "https://github.com/youknowone/python-deadlib";
|
||||
license = lib.licenses.psfl;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
@@ -16883,6 +16883,9 @@ self: super: with self; {
|
||||
standard-chunk =
|
||||
if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-chunk { } else null;
|
||||
|
||||
standard-cgi =
|
||||
if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-cgi { } else null;
|
||||
|
||||
standard-imghdr =
|
||||
if pythonAtLeast "3.13" then
|
||||
callPackage ../development/python-modules/standard-imghdr { }
|
||||
|
||||
Reference in New Issue
Block a user