3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.pdoc: 12.0.2 -> 12.3.1

Diff: https://github.com/mitmproxy/pdoc/compare/v12.0.2...v12.3.1

Changelog: https://github.com/mitmproxy/pdoc/blob/v12.3.1/CHANGELOG.md
This commit is contained in:
Robert Schütz 2023-02-04 22:36:27 -08:00 committed by Robert Schütz
parent 977c06339c
commit d6778203de

View file

@ -2,8 +2,8 @@
, stdenv
, buildPythonPackage
, pythonOlder
, fetchPypi
, fetchFromGitHub
, setuptools
, jinja2
, pygments
, markupsafe
@ -14,17 +14,23 @@
buildPythonPackage rec {
pname = "pdoc";
version = "12.0.2";
version = "12.3.1";
disabled = pythonOlder "3.7";
format = "pyproject";
# the Pypi version does not include tests
src = fetchFromGitHub {
owner = "mitmproxy";
repo = "pdoc";
rev = "v${version}";
sha256 = "FVfPO/QoHQQqg7QU05GMrrad0CbRR5AQVYUpBhZoRi0=";
sha256 = "sha256-SaLrE/eHxKnlm6BZYbcZZrbrUZMeHJ4eCcqMsFvyZ7I=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
jinja2
pygments
@ -48,6 +54,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pdoc" ];
meta = with lib; {
changelog = "https://github.com/mitmproxy/pdoc/blob/${src.rev}/CHANGELOG.md";
homepage = "https://pdoc.dev/";
description = "API Documentation for Python Projects";
license = licenses.unlicense;