2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
37 lines
736 B
Nix
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; [ ];
|
|
};
|
|
}
|