nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 40 lines 814 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 sphinx, 7 plantuml, 8}: 9 10buildPythonPackage rec { 11 pname = "sphinxcontrib-plantuml"; 12 version = "0.31"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit version; 17 pname = "sphinxcontrib_plantuml"; 18 hash = "sha256-/XR1L46gcOZBw/ikAvzPodSkBW4JZ7VgM9KnYoLZ+VY="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ sphinx ]; 24 25 propagatedBuildInputs = [ plantuml ]; 26 27 pythonImportsCheck = [ "sphinxcontrib.plantuml" ]; 28 29 # No tests included. 30 doCheck = false; 31 32 pythonNamespaces = [ "sphinxcontrib" ]; 33 34 meta = { 35 description = "Provides a Sphinx domain for embedding UML diagram with PlantUML"; 36 homepage = "https://github.com/sphinx-contrib/plantuml/"; 37 license = with lib.licenses; [ bsd2 ]; 38 maintainers = [ ]; 39 }; 40}