94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
35 lines
693 B
Nix
35 lines
693 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, sphinx
|
|
, plantuml
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxcontrib-plantuml";
|
|
version = "0.25";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-j95THZLRz8KBf+Nkez8tB+dmgsSoSInASlPoMffFRDI=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|