mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: Add rust-askama-0.10.
* gnu/packages/crates-io.scm (rust-askama-0.10): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
296b72db46
commit
8bdc62757d
1 changed files with 29 additions and 0 deletions
|
@ -2279,6 +2279,35 @@ (define-public rust-askama-derive-0.10
|
|||
"This package provide procedural macro package for Askama.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-askama-0.10
|
||||
(package
|
||||
(name "rust-askama")
|
||||
(version "0.10.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "askama" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0d1iwywdgw3nba2iphayw8sfm3s8m9izwnhfar707qa7ds5p766j"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-askama-derive" ,rust-askama-derive-0.10)
|
||||
("rust-askama-escape" ,rust-askama-escape-0.10)
|
||||
("rust-askama-shared" ,rust-askama-shared-0.11)
|
||||
("rust-mime" ,rust-mime-0.3)
|
||||
("rust-mime-guess" ,rust-mime-guess-2))))
|
||||
(home-page "https://github.com/djc/askama")
|
||||
(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-as-slice-0.1
|
||||
(package
|
||||
(name "rust-as-slice")
|
||||
|
|
Loading…
Reference in a new issue