5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
42 lines
836 B
Nix
42 lines
836 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
sphinx,
|
|
plantuml,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxcontrib-plantuml";
|
|
version = "0.30";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-KhJmykO930RkCuRBBwA99EkN4rPDFUoNYnz7Y+mhab8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ sphinx ];
|
|
|
|
propagatedBuildInputs = [ plantuml ];
|
|
|
|
pythonImportsCheck = [ "sphinxcontrib.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 = [ ];
|
|
};
|
|
}
|