summaryrefslogtreecommitdiff
path: root/gnu/packages/documentation.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/documentation.scm')
-rw-r--r--gnu/packages/documentation.scm55
1 files changed, 48 insertions, 7 deletions
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index 0eebedd503..b18e62e3db 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>
@@ -186,7 +187,7 @@ markup) can be customized and extended by the user.")
(define-public doxygen
(package
(name "doxygen")
- (version "1.9.8")
+ (version "1.14.0")
(home-page "https://www.doxygen.nl/")
(source (origin
(method url-fetch)
@@ -197,7 +198,7 @@ markup) can be customized and extended by the user.")
".src.tar.gz")))
(sha256
(base32
- "0qjgw7bnx668hpi4r8m366vsq118s9365zf8z4x5yjrqx0ld5qq5"))))
+ "0pbbdvc1zxps6mi58bry16rcrdw6b9gvf9nhv0kp60qkmc8nslyl"))))
(build-system cmake-build-system)
(native-inputs
(list bison
@@ -218,12 +219,15 @@ markup) can be customized and extended by the user.")
#~'())
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'disable-bibtex-test
+ (add-after 'unpack 'disable-some-tests
(lambda _
- ;; Disable test that requires bibtex to avoid a
- ;; circular dependency.
(for-each delete-file-recursively
- '("testing/012" "testing/012_cite.dox"))))
+ ;; Disable test that requires bibtex to avoid a
+ ;; circular dependency.
+ '("testing/012" "testing/012_cite.dox"
+ ;; Reported upstream, see
+ ;; <https://github.com/doxygen/doxygen/issues/11772>.
+ "testing/009" "testing/009_bug.cpp"))))
(add-before 'configure 'patch-sh
(lambda* (#:key inputs #:allow-other-keys)
(let ((/bin/sh (search-input-file inputs "/bin/sh")))
@@ -440,6 +444,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")