python3Packages.pdoc3: apply patch to fix test_Class_params

This commit is contained in:
Martin Weinelt 2021-10-10 20:17:21 +02:00
parent 97a6cecf2e
commit b4781ea8cd

View file

@ -1,4 +1,7 @@
{ lib, buildPythonPackage, fetchPypi { lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, pythonOlder , pythonOlder
, Mako , Mako
, markdown , markdown
@ -16,8 +19,24 @@ buildPythonPackage rec {
sha256 = "5f22e7bcb969006738e1aa4219c75a32f34c2d62d46dc9d2fb2d3e0b0287e4b7"; sha256 = "5f22e7bcb969006738e1aa4219c75a32f34c2d62d46dc9d2fb2d3e0b0287e4b7";
}; };
nativeBuildInputs = [ setuptools-git setuptools-scm ]; patches = [
propagatedBuildInputs = [ Mako markdown ]; (fetchpatch {
# test_Class_params fails in 0.10.0
# https://github.com/pdoc3/pdoc/issues/355
url = "https://github.com/pdoc3/pdoc/commit/4aa70de2221a34a3003a7e5f52a9b91965f0e359.patch";
sha256 = "07sbf7bh09vgd5z1lbay604rz7rhg88414whs6iy60wwbvkz5c2v";
})
];
nativeBuildInputs = [
setuptools-git
setuptools-scm
];
propagatedBuildInputs = [
Mako
markdown
];
meta = with lib; { meta = with lib; {
description = "Auto-generate API documentation for Python projects."; description = "Auto-generate API documentation for Python projects.";