emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / sphinxcontrib-apidoc / default.nix
blob359b5387f6399dffc2ddec64c1aa4df2341b8846
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pbr,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "sphinxcontrib-apidoc";
11   version = "0.5.0";
12   pyproject = true;
14   src = fetchPypi {
15     inherit pname version;
16     hash = "sha256-Ze/NkiEqX4I3FfuV7gmLRYprsJpe5hfZ7T3q2XF3zVU=";
17   };
19   postPatch = ''
20     # break infite recursion, remove pytest 4 requirement
21     rm test-requirements.txt requirements.txt
22   '';
24   nativeBuildInputs = [
25     pbr
26     setuptools
27   ];
29   # Check is disabled due to circular dependency of sphinx
30   doCheck = false;
32   pythonNamespaces = [ "sphinxcontrib" ];
34   meta = with lib; {
35     description = "Sphinx extension for running sphinx-apidoc on each build";
36     homepage = "https://github.com/sphinx-contrib/apidoc";
37     license = licenses.bsd2;
38     maintainers = teams.openstack.members;
39   };