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