From 07768c8c73b1fe0ca4cb1b30506165aa4b011941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 17 Jul 2024 08:47:13 -0700 Subject: [PATCH] asciidoc: 10.2.0 -> 10.2.1 Diff: https://github.com/asciidoc-py/asciidoc-py/compare/10.2.0...10.2.1 Changelog: https://github.com/asciidoc-py/asciidoc-py/blob/10.2.1/CHANGELOG.adoc --- pkgs/tools/typesetting/asciidoc/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/typesetting/asciidoc/default.nix b/pkgs/tools/typesetting/asciidoc/default.nix index 69b0ccff68bd..1a7fde588c75 100644 --- a/pkgs/tools/typesetting/asciidoc/default.nix +++ b/pkgs/tools/typesetting/asciidoc/default.nix @@ -121,13 +121,14 @@ in python3.pkgs.buildPythonApplication rec { pname = "asciidoc" + lib.optionalString enableStandardFeatures "-full" + lib.optionalString enableExtraPlugins "-with-plugins"; - version = "10.2.0"; + version = "10.2.1"; + pyproject = true; src = fetchFromGitHub { owner = "asciidoc-py"; repo = "asciidoc-py"; rev = version; - hash = "sha256-TqC0x9xB6e2d6Wc9bgnlqgZVOmYHmUUKfE/CKAiEtag="; + hash = "sha256-td3C7xTWfSzdo9Bbz0dHW2oPaCQYmUE9H2sUFfg5HH0="; }; nativeBuildInputs = [ @@ -250,6 +251,8 @@ in python3.pkgs.buildPythonApplication rec { --replace "python3 -m asciidoc.a2x" "${buildPackages.asciidoc}/bin/a2x" ''; + build-system = with python3.pythonOnBuildForHost.pkgs; [ setuptools ]; + postBuild = '' make manpages '';