2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
setuptools,
|
|
|
|
sphinx,
|
|
|
|
plantuml,
|
|
|
|
pythonOlder,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-plantuml";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "0.30";
|
|
|
|
pyproject = true;
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-KhJmykO930RkCuRBBwA99EkN4rPDFUoNYnz7Y+mhab8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [ sphinx ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ plantuml ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "sphinxcontrib.plantuml" ];
|
2022-12-28 21:21:41 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# No tests included.
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Provides a Sphinx domain for embedding UML diagram with PlantUML";
|
|
|
|
homepage = "https://github.com/sphinx-contrib/plantuml/";
|
|
|
|
license = with licenses; [ bsd2 ];
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|