1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 unittestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "standard-cgi"; 11 version = "3.13.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "youknowone"; 16 repo = "python-deadlib"; 17 tag = "v${version}"; 18 hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg="; 19 }; 20 21 sourceRoot = "${src.name}/cgi"; 22 23 build-system = [ setuptools ]; 24 25 nativeCheckInputs = [ unittestCheckHook ]; 26 27 meta = { 28 description = "Python dead batteries. See PEP 594"; 29 homepage = "https://github.com/youknowone/python-deadlib"; 30 license = lib.licenses.psfl; 31 maintainers = with lib.maintainers; [ hexa ]; 32 }; 33}