nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 49 lines 1.1 kB view raw
1{ stdenv 2, lib 3, buildPythonPackage 4, fetchPypi 5, fetchpatch 6, pythonOlder 7, Mako 8, markdown 9, setuptools-git 10, setuptools-scm 11}: 12 13buildPythonPackage rec { 14 pname = "pdoc3"; 15 version = "0.10.0"; 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "5f22e7bcb969006738e1aa4219c75a32f34c2d62d46dc9d2fb2d3e0b0287e4b7"; 21 }; 22 23 patches = [ 24 (fetchpatch { 25 # test_Class_params fails in 0.10.0 26 # https://github.com/pdoc3/pdoc/issues/355 27 url = "https://github.com/pdoc3/pdoc/commit/4aa70de2221a34a3003a7e5f52a9b91965f0e359.patch"; 28 sha256 = "07sbf7bh09vgd5z1lbay604rz7rhg88414whs6iy60wwbvkz5c2v"; 29 }) 30 ]; 31 32 nativeBuildInputs = [ 33 setuptools-git 34 setuptools-scm 35 ]; 36 37 propagatedBuildInputs = [ 38 Mako 39 markdown 40 ]; 41 42 meta = with lib; { 43 broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; 44 description = "Auto-generate API documentation for Python projects."; 45 homepage = "https://pdoc3.github.io/pdoc/"; 46 license = with licenses; [ agpl3Plus ]; 47 maintainers = with maintainers; [ catern ]; 48 }; 49}