diff options
author | Tomas Volf <~@wolfsden.cz> | 2024-02-15 21:26:15 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:54 +0200 |
commit | 7aa0a2e7082e67bf588460bf65d5d014fc9fd0df (patch) | |
tree | 9ba481895e6d0986b070d2e385374a5e3b679120 /gnu/packages/crates-io.scm | |
parent | e9704f0a1f8edd5bf4dfef139d69a88c02e67c80 (diff) |
gnu: Add rust-pulldown-cmark-to-cmark-10.
* gnu/packages/crates-io.scm (rust-pulldown-cmark-to-cmark-10): New
variable.
Change-Id: I23b664947c2c31589f4a80aae89186834987a3b4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 65a58900fff..70e3352d069 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40,6 +40,7 @@ ;;; Copyright © 2023 Daniel Ziltener <dziltener@lyrion.ch> ;;; Copyright © 2023, 2024 Troy Figiel <troy@troyfigiel.com> ;;; Copyright © 2024 Herman Rimm <herman@rimm.ee> +;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; ;;; This file is part of GNU Guix. ;;; @@ -49821,6 +49822,36 @@ compliant email address validation.") (description "Simple instrumentation profiler for games.") (license (list license:expat license:asl2.0)))) +(define-public rust-pulldown-cmark-to-cmark-10 + (package + (name "rust-pulldown-cmark-to-cmark") + (version "10.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "pulldown-cmark-to-cmark" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gc366cmd5jxal9m95l17rvqsm4dn62lywc8v5gwq8vcjvhyd501")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9)) + #:cargo-development-inputs + (("rust-indoc" ,rust-indoc-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))) + (home-page "https://github.com/Byron/pulldown-cmark-to-cmark") + (synopsis + "Convert pulldown-cmark Events back to the string they were parsed from") + (description + "A utility library which translates Event back to markdown. It's the +prerequisite for writing markdown filters which can work as +@code{mdbook-preprocessors}. + +This library takes great pride in supporting everything that +@code{pulldown-cmark} supports, including tables and footnotes and codeblocks +in codeblocks, while assuring quality with a powerful test suite.") + (license license:asl2.0))) + (define-public rust-pulldown-cmark-0.9 (package (name "rust-pulldown-cmark") |