From a4202cfee50473b8d3534aea06ccb8903303f4c5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 1 May 2023 11:34:26 +0200 Subject: [PATCH] python310Packages.plantuml-markdown: add changelog to meta - remove let --- .../python-modules/plantuml-markdown/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/plantuml-markdown/default.nix b/pkgs/development/python-modules/plantuml-markdown/default.nix index 170069e224a6..1c43c1d6d79e 100644 --- a/pkgs/development/python-modules/plantuml-markdown/default.nix +++ b/pkgs/development/python-modules/plantuml-markdown/default.nix @@ -8,13 +8,15 @@ , runCommand , writeText , plantuml-markdown +, pythonOlder }: -let + +buildPythonPackage rec { pname = "plantuml-markdown"; version = "3.9.1"; -in -buildPythonPackage { - inherit pname version; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "mikitex70"; @@ -33,7 +35,9 @@ buildPythonPackage { # The package uses a custom script that downloads a certain version of plantuml for testing. doCheck = false; - pythonImportsCheck = [ "plantuml_markdown" ]; + pythonImportsCheck = [ + "plantuml_markdown" + ]; passthru.tests.example-doc = let @@ -59,6 +63,7 @@ buildPythonPackage { diagram which will be converted into an image and inserted in the document. ''; homepage = "https://github.com/mikitex70/plantuml-markdown"; + changelog = "https://github.com/mikitex70/plantuml-markdown/releases/tag/${version}"; license = licenses.bsd2; maintainers = with maintainers; [ nikstur ]; };