python310Packages.sphinxcontrib-plantuml: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-12-18 10:19:11 +01:00 committed by Frederik Rietdijk
parent ef996d7e58
commit 9104473491

View file

@ -3,26 +3,33 @@
, fetchPypi
, sphinx
, plantuml
, pythonOlder
}:
buildPythonPackage rec {
pname = "sphinxcontrib-plantuml";
version = "0.24.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-OdLkvEDV4JMSYSmhRPVrbuFfWM+lBItZSOY6Ea/ztYY=";
hash = "sha256-OdLkvEDV4JMSYSmhRPVrbuFfWM+lBItZSOY6Ea/ztYY=";
};
propagatedBuildInputs = [
sphinx
plantuml
];
# No tests included.
doCheck = false;
propagatedBuildInputs = [ sphinx plantuml ];
meta = with lib; {
description = "Provides a Sphinx domain for embedding UML diagram with PlantUML";
homepage = "https://github.com/sphinx-contrib/plantuml/";
maintainers = with maintainers; [ ];
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ ];
};
}