aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-31 14:15:19 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:45:20 +0300
commit8f6e9567f706f126df7c00fe2c44ae3e5c51bdd1 (patch)
tree0d2fe96f1a9e93f7a04512eca240446404f7e55b
parent3a4c164527959475ccb231d1193cf9f4d08138fa (diff)
downloadguix-8f6e9567f706f126df7c00fe2c44ae3e5c51bdd1.tar
guix-8f6e9567f706f126df7c00fe2c44ae3e5c51bdd1.tar.gz
gnu: Add rust-minimad-0.13.
* gnu/packages/crates-io.scm (rust-minimad-0.13): New variable. (rust-minimad-0.9): Inherit from rust-minimad-0.13. Change-Id: I78be9d9bf421aa744cf6ee40932dc8f835b9decb
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 21 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 050a1015d3..c4bd122a32 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41499,8 +41499,28 @@ file's MIME type by its extension.")
("rust-serde-json" ,rust-serde-json-1)
("rust-similar-asserts" ,rust-similar-asserts-1))))))
+(define-public rust-minimad-0.13
+ (package
+ (name "rust-minimad")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "minimad" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0s72q9h0807pc450n23nzis4s38m6ihiil5azj1bhj8f8c7n3i7n"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
+ (home-page "https://github.com/Canop/minimad")
+ (synopsis "Light markdown parser")
+ (description "Light markdown parser.")
+ (license license:expat)))
+
(define-public rust-minimad-0.9
(package
+ (inherit rust-minimad-0.13)
(name "rust-minimad")
(version "0.9.1")
(source (origin
@@ -41510,13 +41530,8 @@ file's MIME type by its extension.")
(sha256
(base32
"0d2qnjwdrb3ngb0sayzj2b56pjb75ajqiaz4iw7zfs4537q3jxi7"))))
- (build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
- (home-page "https://github.com/Canop/minimad")
- (synopsis "Light markdown parser")
- (description "Light markdown parser.")
- (license license:expat)))
+ `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))))
(define-public rust-minimal-lexical-0.2
(package