aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pdoc3/default.nix
blob: e1f68109c055d31d4183e8c6ee30d464e069fbdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, buildPythonPackage, fetchPypi
, pythonOlder
, Mako
, markdown
, setuptools-git
, setuptools_scm
}:

buildPythonPackage rec {
  pname = "pdoc3";
  version = "0.9.1";
  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "15482rvpg5r70gippj3nbl58x9plgmgvp0rg4xi4dpdqhma8v171";
  };

  nativeBuildInputs = [ setuptools-git setuptools_scm ];
  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 ];
  };
}