ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / sphinxcontrib-apidoc / default.nix
blobc7bdb26b0008ed8f56d08eb96c642a85822be038
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pbr
5 }:
7 buildPythonPackage rec {
8   pname = "sphinxcontrib-apidoc";
9   version = "0.3.0";
11   src = fetchPypi {
12     inherit pname version;
13     sha256 = "sha256-cpv1ks97fdV8TAV5T3MtwCYScnXXhcKlSUUh/d53P7k=";
14   };
16   postPatch = ''
17     # break infite recursion, remove pytest 4 requirement
18     rm test-requirements.txt requirements.txt
19   '';
21   propagatedBuildInputs = [
22     pbr
23   ];
25   # Check is disabled due to circular dependency of sphinx
26   doCheck = false;
28   meta = with lib; {
29     description = "Sphinx extension for running sphinx-apidoc on each build";
30     homepage = "https://github.com/sphinx-contrib/apidoc";
31     license = licenses.bsd2;
32     maintainers = teams.openstack.members;
33   };