Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 sphinx, 7 plantuml, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "sphinxcontrib-plantuml"; 13 version = "0.30"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-KhJmykO930RkCuRBBwA99EkN4rPDFUoNYnz7Y+mhab8="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ sphinx ]; 26 27 propagatedBuildInputs = [ plantuml ]; 28 29 pythonImportsCheck = [ "sphinxcontrib.plantuml" ]; 30 31 # No tests included. 32 doCheck = false; 33 34 pythonNamespaces = [ "sphinxcontrib" ]; 35 36 meta = with lib; { 37 description = "Provides a Sphinx domain for embedding UML diagram with PlantUML"; 38 homepage = "https://github.com/sphinx-contrib/plantuml/"; 39 license = with licenses; [ bsd2 ]; 40 maintainers = [ ]; 41 }; 42}