Archived
1
0
Fork 0

gnu: Add rust-pulldown-cmark-to-cmark-7.

* gnu/packages/crates-io.scm (rust-pulldown-cmark-to-cmark-7): New variable.
(rust-pulldown-cmark-to-cmark-6): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Z572 2022-01-12 23:27:49 +08:00 committed by Nicolas Goaziou
parent a9bc8eeacb
commit d3381a031c
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -41893,8 +41893,40 @@ compliant email address validation.")
(("rust-bitflags" ,rust-bitflags-0.5) (("rust-bitflags" ,rust-bitflags-0.5)
("rust-getopts" ,rust-getopts-0.2)))))) ("rust-getopts" ,rust-getopts-0.2))))))
(define-public rust-pulldown-cmark-to-cmark-7
(package
(name "rust-pulldown-cmark-to-cmark")
(version "7.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "pulldown-cmark-to-cmark" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"03f6bnqjzchmzs4qaf63pirgj95b0x3l2rlp1wj1z27mp734phcb"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8))
#: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
"This package provides a convert pulldown-cmark Events back to the string
they were parsed from")
(license license:asl2.0)))
(define-public rust-pulldown-cmark-to-cmark-6 (define-public rust-pulldown-cmark-to-cmark-6
(package (package
(inherit rust-pulldown-cmark-to-cmark-7)
(name "rust-pulldown-cmark-to-cmark") (name "rust-pulldown-cmark-to-cmark")
(version "6.0.0") (version "6.0.0")
(source (source
@ -41914,15 +41946,7 @@ compliant email address validation.")
#:cargo-development-inputs #:cargo-development-inputs
(("rust-indoc" ,rust-indoc-1) (("rust-indoc" ,rust-indoc-1)
("rust-pretty-assertions" ("rust-pretty-assertions"
,rust-pretty-assertions-0.6)))) ,rust-pretty-assertions-0.6))))))
(home-page
"https://github.com/Byron/pulldown-cmark-to-cmark")
(synopsis
"Convert pulldown-cmark Events back to the string they were parsed from")
(description
"This package provides a convert pulldown-cmark Events back to the string
they were parsed from")
(license license:asl2.0)))
(define-public rust-pulse-0.5 (define-public rust-pulse-0.5
(package (package