[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59670] [PATCH 09/50] gnu: Add rust-askama-0.11.
From: |
( |
Subject: |
[bug#59670] [PATCH 09/50] gnu: Add rust-askama-0.11. |
Date: |
Tue, 29 Nov 2022 07:00:23 +0000 |
* gnu/packages/crates-io.scm (rust-askama-0.11): New variable.
(rust-askama-0.10): Inherit from RUST-ASKAMA-0.11.
---
gnu/packages/crates-io.scm | 59 ++++++++++++++++++++++++--------------
1 file changed, 38 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5adbc65097..4a73e959fe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3663,35 +3663,52 @@ (define-public rust-askama-derive-0.10
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-syn" ,rust-syn-1))))))
-(define-public rust-askama-0.10
+(define-public rust-askama-0.11
(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"))))
+ (version "0.11.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "askama" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0f81mzccdadryzaf2dbad1araq4nadp9mssyvdvv31hj6w7z367v"))))
(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))))
+ (list #:skip-build? #t
+ #:cargo-inputs
+ `(("rust-askama-derive" ,rust-askama-derive-0.11)
+ ("rust-askama-escape" ,rust-askama-escape-0.10)
+ ("rust-askama-shared" ,rust-askama-shared-0.12))))
(home-page "https://github.com/djc/askama")
- (synopsis
- "Type-safe, compiled Jinja-like templates for Rust")
+ (synopsis "Type-safe, compiled Jinja-like templates for Rust")
(description
- "This package provides a type-safe, compiled Jinja-like templates for
Rust.")
+ "This package provides a type-safe, compiled Jinja-like template
+library for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-askama-0.10
+ (package
+ (inherit rust-askama-0.11)
+ (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"))))
+ (arguments
+ (list #: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))))))
+
(define-public rust-asn1-derive-0.8
(package
(name "rust-asn1-derive")
--
2.38.1
- [bug#59670] [PATCH 00/50] gnu: zoxide: Update to 0.8.3., (, 2022/11/29
- [bug#59670] [PATCH 01/50] gnu: Add rust-nix-0.24., (, 2022/11/29
- [bug#59670] [PATCH 03/50] gnu: Add rust-propfuzz-0.0.1., (, 2022/11/29
- [bug#59670] [PATCH 07/50] gnu: Add rust-askama-shared-0.12., (, 2022/11/29
- [bug#59670] [PATCH 06/50] gnu: rust-askama-escape: Update to 0.10.3., (, 2022/11/29
- [bug#59670] [PATCH 09/50] gnu: Add rust-askama-0.11.,
( <=
- [bug#59670] [PATCH 02/50] gnu: Add rust-propfuzz-macro-0.0.1., (, 2022/11/29
- [bug#59670] [PATCH 08/50] gnu: Add rust-askama-derive-0.11., (, 2022/11/29
- [bug#59670] [PATCH 10/50] gnu: Add rust-rstest-macros-0.14., (, 2022/11/29
- [bug#59670] [PATCH 15/50] gnu: Add rust-fs-err-2., (, 2022/11/29
- [bug#59670] [PATCH 13/50] gnu: rust-tokio-1: Update to 1.22.0., (, 2022/11/29
- [bug#59670] [PATCH 12/50] gnu: Add rust-parking-lot-0.12., (, 2022/11/29
- [bug#59670] [PATCH 05/50] gnu: Add rust-comrak-0.12., (, 2022/11/29
- [bug#59670] [PATCH 04/50] gnu: Add rust-unicode-categories-0.1., (, 2022/11/29
- [bug#59670] [PATCH 16/50] gnu: Add rust-windows-aarch64-gnullvm-0.42., (, 2022/11/29
- [bug#59670] [PATCH 14/50] gnu: rust-autocfg-1: Update to 1.1.0., (, 2022/11/29