From 91044734918d9c80945178121bc24019cc56af58 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Dec 2022 10:19:11 +0100 Subject: [PATCH] python310Packages.sphinxcontrib-plantuml: disable on older Python releases --- .../sphinxcontrib-plantuml/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix b/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix index dadb08148e0c..793bf0771b1a 100644 --- a/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix @@ -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; [ ]; }; }