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:
Efraim Flashner 2024-12-25 14:03:19 +02:00
parent 61c6d4f86f
commit bbb87af450
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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")