summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-08-03 11:52:38 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:23 +0300
commite926e59aa7cfee327451b076647fef5896ab4512 (patch)
treea3f586f297c468b989b2b614aacb0519f488c1de
parent65b0e3a8a8b4332fce6bae54e398f0c1528bfc91 (diff)
gnu: Add rust-minijinja-0.34.
* gnu/packages/crates-io.scm (rust-minijinja-0.34): New variable.
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 33 insertions, 0 deletions
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")