From 80697353a8a7983b70a8c246434e5861ce03d206 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 22 Nov 2025 16:08:42 +0000 Subject: [PATCH] gnu: pandoc-include: Update to 1.4.3. * gnu/packages/textutils.scm (pandoc-include): Update to 1.4.3. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments] : Disable broken tests. [inputs]: Add python-lxml, python-natsort, and python-panflute. [propagated-inputs]: Remove python-natsort and python-panflute. [native-inputs]: Add python-setuptools. Change-Id: I166592371805b9005825711e66be03a2ca302cf7 --- gnu/packages/textutils.scm | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 6b98f86cf1a..5523c76cd3f 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1976,15 +1976,27 @@ Expressions, and being faster to type than grep.") (define-public pandoc-include (package (name "pandoc-include") - (version "1.2.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "pandoc-include" version)) - (sha256 - (base32 - "01nrbzs85mrd7jcflicsz0bmfnzi6wsy0ii262xl01zsabqd7n91")))) - (build-system python-build-system) - (propagated-inputs (list python-natsort python-panflute)) + (version "1.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DCsunset/pandoc-include") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1db7fhdvhl3jnzwbi5s76jnlgkf0ifw9ngfv63dij4y21g5lhmzj")))) + (build-system pyproject-build-system) + (arguments + ;; XXX: Test can be run with "test/run.py" but fail with error: + ;; json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) + (list #:tests? #f)) + (native-inputs + (list python-setuptools)) + (inputs + (list python-lxml + python-natsort + python-panflute)) (home-page "https://github.com/DCsunset/pandoc-include") (synopsis "Pandoc filter to allow file and header includes") (description "@code{pandoc-include} extends Pandoc to support: