python312Packages.pdoc: 14.7.0 -> 15.0.0 (#349291)

This commit is contained in:
Franz Pletz 2024-10-22 19:00:12 +02:00 committed by GitHub
commit b963eb20a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,15 +8,15 @@
pdoc-pyo3-sample-library,
pygments,
markupsafe,
astunparse,
pytestCheckHook,
hypothesis,
nix-update-script,
}:
buildPythonPackage rec {
pname = "pdoc";
version = "14.7.0";
disabled = pythonOlder "3.8";
version = "15.0.0";
disabled = pythonOlder "3.9";
pyproject = true;
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "mitmproxy";
repo = "pdoc";
rev = "v${version}";
hash = "sha256-U6gLEuyKvGGP5yKXb+bWDGJqmHTdPYLLPgHLVySAJ6I=";
hash = "sha256-6XEcHhaKkxY/FU748f+OsTcSgrM4iQTmJAL8rJ3EqnY=";
};
nativeBuildInputs = [ setuptools ];
@ -33,7 +33,7 @@ buildPythonPackage rec {
jinja2
pygments
markupsafe
] ++ lib.optional (pythonOlder "3.9") astunparse;
];
nativeCheckInputs = [
pytestCheckHook
@ -54,6 +54,8 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pdoc" ];
passthru.updateScript = nix-update-script { };
meta = with lib; {
changelog = "https://github.com/mitmproxy/pdoc/blob/${src.rev}/CHANGELOG.md";
homepage = "https://pdoc.dev/";