summaryrefslogtreecommitdiff
path: root/gnu/packages/documentation.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 11:36:47 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 12:36:52 +0100
commit1b1db5f79f2fefdff7ea490743dd3950265a61dc (patch)
treeff2b785ca7b1080a04b7acf65fab6289a8da92c3 /gnu/packages/documentation.scm
parente5d2f0bd4bd330328e75ea39794a1b1f8b0929fb (diff)
gnu: mallard-ducktype: Move to documentation.
* gnu/packages/python-xyz.scm (mallard-ducktype): Move from here ... * gnu/packages/documentation.scm: ... to here. Fixes: guix/guix#1200. Change-Id: I05895a56626a0416c4c7710c48f06b62538b4622
Diffstat (limited to 'gnu/packages/documentation.scm')
-rw-r--r--gnu/packages/documentation.scm40
1 files changed, 39 insertions, 1 deletions
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index 0eebedd5034..d9a97a9b0fa 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -5,8 +5,9 @@
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
-;;; Copyright © 2017, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2019 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
@@ -440,6 +441,43 @@ the Net to search for documents which are not on the local system.")
inspired by Dash.")
(license license:gpl3+)))
+;; XXX: Potential abandonware, no updates or fixes since 2019, consider to
+;; find a replacement and re-allocate, see:
+;; <https://codeberg.org/guix/guix/issues/1200>.
+(define-public mallard-ducktype
+ (package
+ (name "mallard-ducktype")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ ;; git-reference because tests are not included in pypi source tarball
+ ;; https://issues.guix.gnu.org/issue/36755#2
+ (uri (git-reference
+ (url "https://github.com/projectmallard/mallard-ducktype")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1jk9bfz7g04ip78s03b0xak6d54rj4h9zpgadkziy1ji216g6y4c"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (with-directory-excursion "tests"
+ (invoke "sh" "runtests")))))))
+ (native-inputs (list python-setuptools))
+ (home-page "http://projectmallard.org")
+ (synopsis "Convert Ducktype to Mallard documentation markup")
+ (description
+ "Ducktype is a lightweight syntax that can represent all the semantics
+of the Mallard XML documentation system. Ducktype files can be converted to
+Mallard using the @command{ducktype} tool. The yelp-tools package
+provides additional functionality on the produced Mallard documents.")
+ (license license:expat)))
+
(define-public markdeep
(package
(name "markdeep")