a3d4720129
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
35 lines
695 B
Nix
35 lines
695 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, sphinx
|
|
, plantuml
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxcontrib-plantuml";
|
|
version = "0.24.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-OdLkvEDV4JMSYSmhRPVrbuFfWM+lBItZSOY6Ea/ztYY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
sphinx
|
|
plantuml
|
|
];
|
|
|
|
# No tests included.
|
|
doCheck = false;
|
|
|
|
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; [ ];
|
|
};
|
|
}
|