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