summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <[email protected]>2025-02-05 11:54:33 +0200
committerEfraim Flashner <[email protected]>2025-02-05 11:54:33 +0200
commitdbcfbb86c691583ae1e35131cff55c61d0a8f749 (patch)
tree3c45aa88def42774665a30c24663ece139d37b74 /gnu/packages/crates-io.scm
parent84905d47d8ef6b208d0b59c604e611886c2ed2c4 (diff)
gnu: Add rust-comrak-0.26.
* gnu/packages/crates-io.scm (rust-comrak-0.26): New variable. (rust-comrak-0.18): Inherit from rust-comrak-0.26. Change-Id: Ib9d2a8a970345072d46aa73058cc10f35c6134f4
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm43
1 files changed, 37 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d62361af7..990fe21c7a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14603,22 +14603,24 @@ Rust compiler.")
minutes, seconds.")
(license license:bsd-3)))
-(define-public rust-comrak-0.18
+(define-public rust-comrak-0.26
(package
(name "rust-comrak")
- (version "0.18.0")
+ (version "0.26.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "comrak" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "157838s5bpjihg4a563hpbqr6a6080570g25pqi6026abdlsaaj8"))))
+ (base32 "1a87w6c0xkfml7rg1v34rhlcknr811s11mi9xsjgazf58dwbcnir"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-caseless" ,rust-caseless-0.2)
("rust-clap" ,rust-clap-4)
- ("rust-emojis" ,rust-emojis-0.5)
+ ("rust-derive-builder" ,rust-derive-builder-0.20)
+ ("rust-emojis" ,rust-emojis-0.6)
("rust-entities" ,rust-entities-1)
("rust-memchr" ,rust-memchr-2)
("rust-once-cell" ,rust-once-cell-1)
@@ -14630,14 +14632,43 @@ minutes, seconds.")
("rust-unicode-categories" ,rust-unicode-categories-0.1)
("rust-xdg" ,rust-xdg-2))
#:cargo-development-inputs (("rust-ntest" ,rust-ntest-0.9)
- ("rust-propfuzz" ,rust-propfuzz-0.0.1))))
- (home-page "https://hrzn.ee/kivikakk/comrak")
+ ("rust-toml" ,rust-toml-0.7))))
+ (home-page "https://github.com/kivikakk/comrak")
(synopsis "GitHub flavoured Markdown parser and formatter")
(description
"This package provides a 100% CommonMark-compatible GitHub flavoured
Markdown parser and formatter written in Rust.")
(license license:bsd-2)))
+(define-public rust-comrak-0.18
+ (package
+ (inherit rust-comrak-0.26)
+ (name "rust-comrak")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "comrak" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "157838s5bpjihg4a563hpbqr6a6080570g25pqi6026abdlsaaj8"))))
+ (arguments
+ `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-emojis" ,rust-emojis-0.5)
+ ("rust-entities" ,rust-entities-1)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-shell-words" ,rust-shell-words-1)
+ ("rust-slug" ,rust-slug-0.1)
+ ("rust-syntect" ,rust-syntect-5)
+ ("rust-typed-arena" ,rust-typed-arena-2)
+ ("rust-unicode-categories" ,rust-unicode-categories-0.1)
+ ("rust-xdg" ,rust-xdg-2))
+ #:cargo-development-inputs (("rust-ntest" ,rust-ntest-0.9)
+ ("rust-propfuzz" ,rust-propfuzz-0.0.1))))))
+
(define-public rust-concat-idents-1
(package
(name "rust-concat-idents")