c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
37 lines
736 B
Nix
37 lines
736 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, sphinx
|
|
, plantuml
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxcontrib-plantuml";
|
|
version = "0.28";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-zpNirT1LvMTDDf38MIqsrSwHs0RjUxZoGnESabjgC+o=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
sphinx
|
|
plantuml
|
|
];
|
|
|
|
# No tests included.
|
|
doCheck = false;
|
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
meta = with lib; {
|
|
description = "Provides a Sphinx domain for embedding UML diagram with PlantUML";
|
|
homepage = "https://github.com/sphinx-contrib/plantuml/";
|
|
license = with licenses; [ bsd2 ];
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|