2020-09-04 22:49:12 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, Mako
|
|
|
|
, markdown
|
|
|
|
, setuptools-git
|
2021-06-03 12:09:11 +02:00
|
|
|
, setuptools-scm
|
2020-09-04 22:49:12 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pdoc3";
|
2020-11-29 15:04:35 +01:00
|
|
|
version = "0.9.2";
|
2020-09-04 22:49:12 +02:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 15:04:35 +01:00
|
|
|
sha256 = "9df5d931f25f353c69c46819a3bd03ef96dd286f2a70bb1b93a23a781f91faa1";
|
2020-09-04 22:49:12 +02:00
|
|
|
};
|
|
|
|
|
2021-06-03 12:09:11 +02:00
|
|
|
nativeBuildInputs = [ setuptools-git setuptools-scm ];
|
2020-09-04 22:49:12 +02:00
|
|
|
propagatedBuildInputs = [ Mako markdown ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Auto-generate API documentation for Python projects.";
|
|
|
|
homepage = "https://pdoc3.github.io/pdoc/";
|
|
|
|
license = with licenses; [ agpl3Plus ];
|
|
|
|
maintainers = with maintainers; [ catern ];
|
|
|
|
};
|
|
|
|
}
|