Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 34 lines 735 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pbr 5}: 6 7buildPythonPackage rec { 8 pname = "sphinxcontrib-apidoc"; 9 version = "0.3.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-cpv1ks97fdV8TAV5T3MtwCYScnXXhcKlSUUh/d53P7k="; 14 }; 15 16 postPatch = '' 17 # break infite recursion, remove pytest 4 requirement 18 rm test-requirements.txt requirements.txt 19 ''; 20 21 propagatedBuildInputs = [ 22 pbr 23 ]; 24 25 # Check is disabled due to circular dependency of sphinx 26 doCheck = false; 27 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 }; 34}