mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 23:36:19 +01:00
gnu: Add rust-rinja-0.3.
* gnu/packages/crates-io.scm (rust-rinja-0.3): New variable. Change-Id: I3369b8c82630a5a97b0e39036bf02852f8a5a6c4
This commit is contained in:
parent
61c6d4f86f
commit
bbb87af450
1 changed files with 27 additions and 0 deletions
|
@ -69110,6 +69110,33 @@ (define-public rust-ringbuf-0.2
|
|||
First In First Out} ring buffer with direct access to inner data.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-rinja-0.3
|
||||
(package
|
||||
(name "rust-rinja")
|
||||
(version "0.3.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "rinja" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "198ppf5bnm6q53dhn4nijl9vbrdm49i1z86msyrk0m2r006r9i1x"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-humansize" ,rust-humansize-2)
|
||||
("rust-itoa" ,rust-itoa-1)
|
||||
("rust-num-traits" ,rust-num-traits-0.2)
|
||||
("rust-percent-encoding" ,rust-percent-encoding-2)
|
||||
("rust-rinja-derive" ,rust-rinja-derive-0.3)
|
||||
("rust-serde" ,rust-serde-1)
|
||||
("rust-serde-json" ,rust-serde-json-1))
|
||||
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5))))
|
||||
(home-page "https://rinja.readthedocs.io/")
|
||||
(synopsis "Type-safe, compiled Jinja-like templates for Rust")
|
||||
(description
|
||||
"This package provides a type-safe, compiled Jinja-like templates for Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-rinja-derive-0.3
|
||||
(package
|
||||
(name "rust-rinja-derive")
|
||||
|
|
Loading…
Reference in a new issue