mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-09 04:16:53 +00:00
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:
parent
977c06339c
commit
d6778203de
@ -2,8 +2,8 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchPypi
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
, jinja2
|
, jinja2
|
||||||
, pygments
|
, pygments
|
||||||
, markupsafe
|
, markupsafe
|
||||||
@ -14,17 +14,23 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pdoc";
|
pname = "pdoc";
|
||||||
version = "12.0.2";
|
version = "12.3.1";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
# the Pypi version does not include tests
|
# the Pypi version does not include tests
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mitmproxy";
|
owner = "mitmproxy";
|
||||||
repo = "pdoc";
|
repo = "pdoc";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "FVfPO/QoHQQqg7QU05GMrrad0CbRR5AQVYUpBhZoRi0=";
|
sha256 = "sha256-SaLrE/eHxKnlm6BZYbcZZrbrUZMeHJ4eCcqMsFvyZ7I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
jinja2
|
jinja2
|
||||||
pygments
|
pygments
|
||||||
@ -48,6 +54,7 @@ buildPythonPackage rec {
|
|||||||
pythonImportsCheck = [ "pdoc" ];
|
pythonImportsCheck = [ "pdoc" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/mitmproxy/pdoc/blob/${src.rev}/CHANGELOG.md";
|
||||||
homepage = "https://pdoc.dev/";
|
homepage = "https://pdoc.dev/";
|
||||||
description = "API Documentation for Python Projects";
|
description = "API Documentation for Python Projects";
|
||||||
license = licenses.unlicense;
|
license = licenses.unlicense;
|
||||||
|
Loading…
Reference in New Issue
Block a user