mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 02:50:45 +02:00
gnu: rust-tera-1: Update to 1.20.0.
* gnu/packages/crates-io.scm (rust-tera-1): Update to 1.20.0. [arguments]: Update the cargo-test-flags. [cargo-inputs]: Replace rust-chrono-tz-0.6 with 0.9, rust-globwalk-0.8 with 0.9. [home-page]: Update to new home-page Change-Id: I2f86ce63a08fca20a15a68334a989e7636d15cf7
This commit is contained in:
parent
fc1fd14963
commit
6b0afb6a7f
1 changed files with 9 additions and 7 deletions
|
@ -78839,14 +78839,14 @@ directories.")
|
||||||
(define-public rust-tera-1
|
(define-public rust-tera-1
|
||||||
(package
|
(package
|
||||||
(name "rust-tera")
|
(name "rust-tera")
|
||||||
(version "1.18.1")
|
(version "1.20.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "tera" version))
|
(uri (crate-uri "tera" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1h3hgixby1vsfgk83ww09aq25p74jhqf48b7ql1jmwh22dsnb9lm"))
|
(base32 "1vnj9imw2h9szkd1izsrhwrc9jvazvdsp84x65wg2rg88ldqb7db"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin (substitute* "Cargo.toml"
|
'(begin (substitute* "Cargo.toml"
|
||||||
|
@ -78855,16 +78855,18 @@ directories.")
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-test-flags
|
`(#:cargo-test-flags
|
||||||
(list "--release" "--"
|
(list "--"
|
||||||
;; Not all files included.
|
;; Not all files included.
|
||||||
"--skip=tera::tests::full_reload_with_glob"
|
"--skip=tera::tests::full_reload_with_glob"
|
||||||
"--skip=tera::tests::full_reload_with_glob_after_extending"
|
"--skip=tera::tests::full_reload_with_glob_after_extending"
|
||||||
|
"--skip=tera::tests::test_can_only_parse_templates"
|
||||||
"--skip=tera::tests::can_load_from_glob_with_patterns"
|
"--skip=tera::tests::can_load_from_glob_with_patterns"
|
||||||
"--skip=tera::tests::can_load_from_glob")
|
"--skip=tera::tests::can_load_from_glob"
|
||||||
|
"--skip=tera::Tera::add_template_file")
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-chrono" ,rust-chrono-0.4)
|
(("rust-chrono" ,rust-chrono-0.4)
|
||||||
("rust-chrono-tz" ,rust-chrono-tz-0.6)
|
("rust-chrono-tz" ,rust-chrono-tz-0.9)
|
||||||
("rust-globwalk" ,rust-globwalk-0.8)
|
("rust-globwalk" ,rust-globwalk-0.9)
|
||||||
("rust-humansize" ,rust-humansize-2)
|
("rust-humansize" ,rust-humansize-2)
|
||||||
("rust-lazy-static" ,rust-lazy-static-1)
|
("rust-lazy-static" ,rust-lazy-static-1)
|
||||||
("rust-percent-encoding" ,rust-percent-encoding-2)
|
("rust-percent-encoding" ,rust-percent-encoding-2)
|
||||||
|
@ -78880,7 +78882,7 @@ directories.")
|
||||||
(("rust-pretty-assertions" ,rust-pretty-assertions-1)
|
(("rust-pretty-assertions" ,rust-pretty-assertions-1)
|
||||||
("rust-serde-derive" ,rust-serde-derive-1)
|
("rust-serde-derive" ,rust-serde-derive-1)
|
||||||
("rust-tempfile" ,rust-tempfile-3))))
|
("rust-tempfile" ,rust-tempfile-3))))
|
||||||
(home-page "https://tera.netlify.com/")
|
(home-page "https://keats.github.io/tera/")
|
||||||
(synopsis "Template engine based on Jinja2/Django templates")
|
(synopsis "Template engine based on Jinja2/Django templates")
|
||||||
(description
|
(description
|
||||||
"Tera is a template engine inspired by Jinja2 and the Django
|
"Tera is a template engine inspired by Jinja2 and the Django
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue