mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python310Packages.sphinxcontrib-plantuml: disable on older Python releases
This commit is contained in:
parent
ef996d7e58
commit
9104473491
1 changed files with 11 additions and 4 deletions
|
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue