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