~ruther/guix-local

80697353a8a7983b70a8c246434e5861ce03d206 — Sharlatan Hellseher 6 months ago b353635
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] <tests?>: 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
1 files changed, 21 insertions(+), 9 deletions(-)

M gnu/packages/textutils.scm
M gnu/packages/textutils.scm => gnu/packages/textutils.scm +21 -9
@@ 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: