Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 flit-core, 7}: 8 9buildPythonPackage rec { 10 pname = "sphinxcontrib-devhelp"; 11 version = "1.0.6"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.9"; 15 16 src = fetchPypi { 17 pname = "sphinxcontrib_devhelp"; 18 inherit version; 19 hash = "sha256-mJP9P5BQa8S5e9uXfOuPvYI5ifQxayjDhB7BKFRDctM="; 20 }; 21 22 nativeBuildInputs = [ flit-core ]; 23 24 # Check is disabled due to circular dependency of sphinx 25 dontCheckRuntimeDeps = true; 26 doCheck = false; 27 28 pythonNamespaces = [ "sphinxcontrib" ]; 29 30 meta = with lib; { 31 description = "sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document"; 32 homepage = "https://github.com/sphinx-doc/sphinxcontrib-devhelp"; 33 license = licenses.bsd2; 34 maintainers = teams.sphinx.members; 35 }; 36}