From e926e59aa7cfee327451b076647fef5896ab4512 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 3 Aug 2023 11:52:38 +0300 Subject: gnu: Add rust-minijinja-0.34. * gnu/packages/crates-io.scm (rust-minijinja-0.34): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b1f655dfa6..505ebb588a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38372,6 +38372,39 @@ file's MIME type by its extension.") ;; No copyright headers in the source code. LICENSE indicates gpl3. (license license:gpl3))) +(define-public rust-minijinja-0.34 + (package + (name "rust-minijinja") + (version "0.34.0") + (source (origin + (method url-fetch) + (uri (crate-uri "minijinja" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1gf14x3rvixw1pqwbdj95nx5wxcrkkdpmg2k7spxdjkxm35r3akm")))) + (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-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-minimad-0.9 (package (name "rust-minimad") -- cgit 1.4.1