summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng junjie <873216071@qq.com>2021-04-28 00:12:30 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-05-26 15:14:40 +0200
commit296b72db466a42931ea6beb9824f29c0b07e84ad (patch)
treee8d4046a5ce469216237ea16b9b8673f9c901565
parenteb3799e8225809303f70d3cef80ac02c69b875a3 (diff)
gnu: Add rust-askama-derive-0.10.
* gnu/packages/crates-io.scm (rust-askama-derive-0.10): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fe204abb3e..e3c02ebf9b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2253,6 +2253,32 @@ Askama.")
(description "This package provides a shared code for Askama.")
(license (list license:expat license:asl2.0))))
+(define-public rust-askama-derive-0.10
+ (package
+ (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"))))
+ (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))))
+ (home-page "https://github.com/djc/askama")
+ (synopsis "Procedural macro package for Askama")
+ (description
+ "This package provide procedural macro package for Askama.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-as-slice-0.1
(package
(name "rust-as-slice")