From 8f6e9567f706f126df7c00fe2c44ae3e5c51bdd1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 14:15:19 +0300 Subject: [PATCH] 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 --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++------ 1 file 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 @@ (define-public rust-minijinja-0.34 ("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 @@ (define-public rust-minimad-0.9 (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