depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

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 = [ ];
};
}