mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-20 17:53:26 -05:00
gnu: Add rust-tera-1.
* gnu/packages/crates-io.scm (rust-tera-1): New variable.
This commit is contained in:
parent
b6742050f9
commit
0e8bbfc9c6
1 changed files with 36 additions and 0 deletions
|
@ -34991,6 +34991,42 @@ (define-public rust-tendril-0.4
|
|||
"Compact buffer/string type for zero-copy parsing.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-tera-1
|
||||
(package
|
||||
(name "rust-tera")
|
||||
(version "1.6.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "tera" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1p7qzd8akd4xk4b23dmdrqw9q8061xkl1mar34j3f2glmizapipa"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-chrono" ,rust-chrono-0.4)
|
||||
("rust-chrono-tz" ,rust-chrono-tz-0.5)
|
||||
("rust-globwalk" ,rust-globwalk-0.8)
|
||||
("rust-humansize" ,rust-humansize-1)
|
||||
("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-percent-encoding" ,rust-percent-encoding-2)
|
||||
("rust-pest" ,rust-pest-2)
|
||||
("rust-pest-derive" ,rust-pest-derive-2)
|
||||
("rust-rand" ,rust-rand-0.8)
|
||||
("rust-regex" ,rust-regex-1)
|
||||
("rust-serde" ,rust-serde-1)
|
||||
("rust-serde-json" ,rust-serde-json-1)
|
||||
("rust-slug" ,rust-slug-0.1)
|
||||
("rust-unic-segment" ,rust-unic-segment-0.9))))
|
||||
(home-page "https://tera.netlify.com/")
|
||||
(synopsis "Template engine based on Jinja2/Django templates")
|
||||
(description
|
||||
"Tera is a template engine inspired by Jinja2 and the Django
|
||||
template language.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-term-0.6
|
||||
(package
|
||||
(name "rust-term")
|
||||
|
|
Loading…
Reference in a new issue