depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

42 lines
854 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 = with maintainers; [ ];
};
}