aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-01-06 10:30:06 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:23:03 +0200
commit6b0afb6a7fb4f169946fbe1ec9888cac8e01cb7f (patch)
tree140566b720f2e778ac555e314f137df70bd95172
parentfc1fd14963f4c1eaa11cc71ac270a467b1e22dc7 (diff)
downloadguix-6b0afb6a7fb4f169946fbe1ec9888cac8e01cb7f.tar.gz
guix-6b0afb6a7fb4f169946fbe1ec9888cac8e01cb7f.zip
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
-rw-r--r--gnu/packages/crates-io.scm16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30592f46c3..1c5a5af1b1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78839,14 +78839,14 @@ directories.")
(define-public rust-tera-1
(package
(name "rust-tera")
- (version "1.18.1")
+ (version "1.20.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tera" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1h3hgixby1vsfgk83ww09aq25p74jhqf48b7ql1jmwh22dsnb9lm"))
+ (base32 "1vnj9imw2h9szkd1izsrhwrc9jvazvdsp84x65wg2rg88ldqb7db"))
(modules '((guix build utils)))
(snippet
'(begin (substitute* "Cargo.toml"
@@ -78855,16 +78855,18 @@ directories.")
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
- (list "--release" "--"
+ (list "--"
;; Not all files included.
"--skip=tera::tests::full_reload_with_glob"
"--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")
+ "--skip=tera::tests::can_load_from_glob"
+ "--skip=tera::Tera::add_template_file")
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
- ("rust-chrono-tz" ,rust-chrono-tz-0.6)
- ("rust-globwalk" ,rust-globwalk-0.8)
+ ("rust-chrono-tz" ,rust-chrono-tz-0.9)
+ ("rust-globwalk" ,rust-globwalk-0.9)
("rust-humansize" ,rust-humansize-2)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-percent-encoding" ,rust-percent-encoding-2)
@@ -78880,7 +78882,7 @@ directories.")
(("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-serde-derive" ,rust-serde-derive-1)
("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")
(description
"Tera is a template engine inspired by Jinja2 and the Django