me
/
guix
Archived
1
0
Fork 0

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>
master
( 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
1 changed files with 30 additions and 12 deletions

View File

@ -3619,32 +3619,50 @@ extracted from Askama.")
("rust-syn" ,rust-syn-1) ("rust-syn" ,rust-syn-1)
("rust-toml" ,rust-toml-0.5)))))) ("rust-toml" ,rust-toml-0.5))))))
(define-public rust-askama-derive-0.10 (define-public rust-askama-derive-0.11
(package (package
(name "rust-askama-derive") (name "rust-askama-derive")
(version "0.10.5") (version "0.11.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "askama_derive" version)) (uri (crate-uri "askama_derive" version))
(file-name (file-name (string-append name "-" version ".tar.gz"))
(string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "0wbb5l1x1bx8x8vvz4ayw196l9y64mi3vrmxm7pn8wmlx3k8ggw7"))))
"08jmqb4lq5cvfjjcq7kjk5q4589zlsvc3ld35yfjyf4hqb22aafa"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t (list #:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-askama-shared" ,rust-askama-shared-0.11) `(("rust-askama-shared" ,rust-askama-shared-0.12)
("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-syn" ,rust-syn-1)))) ("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/djc/askama") (home-page "https://github.com/djc/askama")
(synopsis "Procedural macro package for Askama") (synopsis "Procedural macro package for Askama")
(description (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)))) (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 (define-public rust-askama-0.10
(package (package
(name "rust-askama") (name "rust-askama")