Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 defusedxml, 5 fetchPypi, 6 hatchling, 7 pytestCheckHook, 8 sphinx, 9}: 10 11buildPythonPackage rec { 12 pname = "sphinxcontrib-moderncmakedomain"; 13 version = "3.29.0"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit version; 18 pname = "sphinxcontrib_moderncmakedomain"; 19 hash = "sha256-NYfe8kH/JXfQu+8RgQoILp3sG3ij1LSgZiQLXz3BtbI="; 20 }; 21 22 build-system = [ hatchling ]; 23 24 dependencies = [ sphinx ]; 25 26 nativeCheckInputs = [ 27 defusedxml 28 pytestCheckHook 29 sphinx 30 ]; 31 32 pythonNamespaces = [ "sphinxcontrib" ]; 33 34 meta = with lib; { 35 description = "Sphinx extension which renders CMake documentation"; 36 homepage = "https://github.com/scikit-build/moderncmakedomain"; 37 license = licenses.bsd3; 38 maintainers = with maintainers; [ jhol ]; 39 }; 40}