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>
This commit is contained in:
( 2022-11-29 07:00:22 +00:00 committed by Tobias Geerinckx-Rice
parent d9984843ca
commit 36a51e1dde
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3619,32 +3619,50 @@ (define-public rust-askama-shared-0.11
("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")