Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 28 lines 684 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, pythonOlder 3, Mako 4, markdown 5, setuptools-git 6, setuptools_scm 7}: 8 9buildPythonPackage rec { 10 pname = "pdoc3"; 11 version = "0.9.2"; 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "9df5d931f25f353c69c46819a3bd03ef96dd286f2a70bb1b93a23a781f91faa1"; 17 }; 18 19 nativeBuildInputs = [ setuptools-git setuptools_scm ]; 20 propagatedBuildInputs = [ Mako markdown ]; 21 22 meta = with lib; { 23 description = "Auto-generate API documentation for Python projects."; 24 homepage = "https://pdoc3.github.io/pdoc/"; 25 license = with licenses; [ agpl3Plus ]; 26 maintainers = with maintainers; [ catern ]; 27 }; 28}