depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

37 lines
736 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, sphinx
, plantuml
, pythonOlder
}:
buildPythonPackage rec {
pname = "sphinxcontrib-plantuml";
version = "0.27";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-iXV3ju2cFCpC7NxOzYMTLewGkMA1yueIwSN1Dq1SZwM=";
};
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; [ ];
};
}