fd7d75f289
Diff: https://github.com/jackrosenthal/legacy-cgi/compare/v2.6.3...v2.6.4 Changelog: https://github.com/jackrosenthal/legacy-cgi/releases/tag/v2.6.4
38 lines
840 B
Nix
38 lines
840 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "legacy-cgi";
|
|
version = "2.6.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jackrosenthal";
|
|
repo = "legacy-cgi";
|
|
tag = "v${version}";
|
|
hash = "sha256-2CCYRRWP8FP54AcLnehJ0Kj3F3U4cz8vnesSj5EakdA=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
pythonImportsCheck = [
|
|
"cgi"
|
|
"cgitb"
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/jackrosenthal/legacy-cgi/releases/tag/${src.tag}";
|
|
description = "Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594";
|
|
homepage = "https://github.com/jackrosenthal/legacy-cgi";
|
|
license = lib.licenses.psfl;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|