diff options
author | ( <paren@disroot.org> | 2022-11-29 07:00:22 +0000 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-11-27 01:00:01 +0100 |
commit | 36a51e1dde13969aa357e23f289715b887903ed1 (patch) | |
tree | 560c6f99314853f1208e4f6f0c1bc9fef7c3cb00 /gnu/packages/crates-io.scm | |
parent | d9984843ca1ffb1e9e0980e63dfecb9e0e9c70f0 (diff) | |
download | guix-36a51e1dde13969aa357e23f289715b887903ed1.tar.gz |
gnu: Add rust-askama-derive-0.11.
* gnu/packages/crates-io.scm (rust-askama-derive-0.11): New variable. (rust-askama-derive-0.10): Inherit from RUST-ASKAMA-DERIVE-0.10. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 42 |
1 files changed, 30 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 39219b7e15..4e3f73fac6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3619,32 +3619,50 @@ extracted from Askama.") ("rust-syn" ,rust-syn-1) ("rust-toml" ,rust-toml-0.5)))))) -(define-public rust-askama-derive-0.10 +(define-public rust-askama-derive-0.11 (package (name "rust-askama-derive") - (version "0.10.5") + (version "0.11.2") (source (origin (method url-fetch) (uri (crate-uri "askama_derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "08jmqb4lq5cvfjjcq7kjk5q4589zlsvc3ld35yfjyf4hqb22aafa")))) + (base32 "0wbb5l1x1bx8x8vvz4ayw196l9y64mi3vrmxm7pn8wmlx3k8ggw7")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-askama-shared" ,rust-askama-shared-0.11) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1)))) + (list #:skip-build? #t + #:cargo-inputs + `(("rust-askama-shared" ,rust-askama-shared-0.12) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/djc/askama") (synopsis "Procedural macro package for Askama") (description - "This package provide procedural macro package for Askama.") + "This package provide the procedural macro package for +Askama.") (license (list license:expat license:asl2.0)))) +(define-public rust-askama-derive-0.10 + (package + (inherit rust-askama-derive-0.11) + (name "rust-askama-derive") + (version "0.10.5") + (source (origin + (method url-fetch) + (uri (crate-uri "askama_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08jmqb4lq5cvfjjcq7kjk5q4589zlsvc3ld35yfjyf4hqb22aafa")))) + (arguments + (list #:skip-build? #t + #:cargo-inputs + `(("rust-askama-shared" ,rust-askama-shared-0.11) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-askama-0.10 (package (name "rust-askama") |