diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2021-01-23 16:43:02 +0100 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2021-01-24 11:39:16 +0100 |
commit | 773ffd1f1e2ba0aa9b17ccb0947ab0f15cabae37 (patch) | |
tree | 26434881d43865818b69e4d1df5349899abe8e57 | |
parent | 4c51850784da1d5cf14b4261352f99a0a2a8c9eb (diff) | |
download | guix-773ffd1f1e2ba0aa9b17ccb0947ab0f15cabae37.tar.gz |
gnu: Add multilang-documentation.
* gnu/packages/lisp-xyz.scm (cl-multilang-documentation, ecl-multilang-documentation, sbcl-multilang-documentation): New variables.
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 06dde224fb..225edf697b 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -13536,3 +13536,36 @@ language name mapping.") (define-public cl-language-codes (sbcl-package->cl-source-package sbcl-language-codes)) + +(define-public sbcl-multilang-documentation + (let ((commit "59e798a07e949e8957a20927f52aca425d84e4a0")) + (package + (name "sbcl-multilang-documentation") + (version (git-version "1.0.0" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Shinmera/multilang-documentation") + (commit commit))) + (file-name (git-file-name name commit)) + (sha256 + (base32 "13y5jskx8n2b7kimpfarr8v777w3b7zj5swg1b99nj3hk0843ixw")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("documentation-utils" ,sbcl-documentation-utils) + ("language-codes" ,sbcl-language-codes) + ("system-locale" ,sbcl-system-locale))) + (home-page "https://shinmera.github.io/multilang-documentation/") + (synopsis "Add multiple languages support to Common Lisp documentation") + (description + "This library provides a drop-in replacement function for +cl:documentation that supports multiple docstrings per-language, allowing you +to write documentation that can be internationalised.") + (license license:zlib)))) + +(define-public ecl-multilang-documentation + (sbcl-package->ecl-package sbcl-multilang-documentation)) + +(define-public cl-multilang-documentation + (sbcl-package->cl-source-package sbcl-multilang-documentation)) |