mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
python312Packages.pdoc: 14.7.0 -> 15.0.0 (#349291)
This commit is contained in:
commit
b963eb20a5
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user