diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-24 09:59:33 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:37 +0200 |
commit | 11e02de2077fa84d227cfc3af2672f1e7bd0e80d (patch) | |
tree | 31172256f4f00ca6cac91f7baf4b6a06190b2b2f /gnu/packages | |
parent | ef2db9ee0e142a84e81825c684ff098ee28e0476 (diff) | |
download | guix-11e02de2077fa84d227cfc3af2672f1e7bd0e80d.tar guix-11e02de2077fa84d227cfc3af2672f1e7bd0e80d.tar.gz |
gnu: Add rust-minijinja-1.
* gnu/packages/crates-io.scm (rust-minijinja-1): New variable.
(rust-minijinja-0.34): Inherit from rust-minijinja-1.
Change-Id: Ic2790ebc61d5e26f0715565efd2882892d6087c4
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d7841f7563..99dedacbc3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -46302,8 +46302,42 @@ file's MIME type by its extension.") ;; No copyright headers in the source code. LICENSE indicates gpl3. (license license:gpl3))) +(define-public rust-minijinja-1 + (package + (name "rust-minijinja") + (version "1.0.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "minijinja" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jqvjzcj96jxyqp3pmz2hhrfq4ql2q6p719yvpsnrj7jgrbmi1r0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-memo-map" ,rust-memo-map-0.3) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-self-cell" ,rust-self-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-stacker" ,rust-stacker-0.1) + ("rust-unicase" ,rust-unicase-2) + ("rust-unicode-ident" ,rust-unicode-ident-1) + ("rust-v-htmlescape" ,rust-v-htmlescape-0.15)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-similar-asserts" ,rust-similar-asserts-1)))) + (home-page "https://github.com/mitsuhiko/minijinja") + (synopsis "Template engine for Rust") + (description "This package provides a template engine for Rust.") + (license license:asl2.0))) + (define-public rust-minijinja-0.34 (package + (inherit rust-minijinja-1) (name "rust-minijinja") (version "0.34.0") (source (origin @@ -46313,7 +46347,6 @@ file's MIME type by its extension.") (sha256 (base32 "1gf14x3rvixw1pqwbdj95nx5wxcrkkdpmg2k7spxdjkxm35r3akm")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-1) @@ -46329,11 +46362,7 @@ file's MIME type by its extension.") (("rust-insta" ,rust-insta-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-similar-asserts" ,rust-similar-asserts-1)))) - (home-page "https://github.com/mitsuhiko/minijinja") - (synopsis "Template engine for Rust") - (description "This package provides a template engine for Rust.") - (license license:asl2.0))) + ("rust-similar-asserts" ,rust-similar-asserts-1)))))) (define-public rust-minimad-0.9 (package |