mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-10 21:50:01 +01:00
gnu: Add rust-askama-0.12.
* gnu/packages/crates-io.scm (rust-askama-0.12): New variable. (rust-askama-0.11): Inherit from rust-askama-0.12. Change-Id: If4cbca4b654525e7eea629b5ea7aee85c89cf70e
This commit is contained in:
parent
9a7b0a0270
commit
aa3b68b8d6
1 changed files with 31 additions and 8 deletions
|
@ -2852,8 +2852,38 @@ extracted from Askama.")
|
||||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
("rust-syn" ,rust-syn-1))))))
|
("rust-syn" ,rust-syn-1))))))
|
||||||
|
|
||||||
|
(define-public rust-askama-0.12
|
||||||
|
(package
|
||||||
|
(name "rust-askama")
|
||||||
|
(version "0.12.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "askama" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0a1cmp0f1b01zzbzzp81ppa6r754zpax5372aykswz5933gr345p"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs (("rust-askama-derive" ,rust-askama-derive-0.12)
|
||||||
|
("rust-askama-escape" ,rust-askama-escape-0.10)
|
||||||
|
("rust-comrak" ,rust-comrak-0.18)
|
||||||
|
("rust-humansize" ,rust-humansize-2)
|
||||||
|
("rust-num-traits" ,rust-num-traits-0.2)
|
||||||
|
("rust-percent-encoding" ,rust-percent-encoding-2)
|
||||||
|
("rust-serde" ,rust-serde-1)
|
||||||
|
("rust-serde-json" ,rust-serde-json-1)
|
||||||
|
("rust-serde-yaml" ,rust-serde-yaml-0.9))))
|
||||||
|
(home-page "https://github.com/djc/askama")
|
||||||
|
(synopsis "Type-safe, compiled Jinja-like templates for Rust")
|
||||||
|
(description
|
||||||
|
"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.11
|
(define-public rust-askama-0.11
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-askama-0.12)
|
||||||
(name "rust-askama")
|
(name "rust-askama")
|
||||||
(version "0.11.1")
|
(version "0.11.1")
|
||||||
(source
|
(source
|
||||||
|
@ -2863,19 +2893,12 @@ extracted from Askama.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0f81mzccdadryzaf2dbad1araq4nadp9mssyvdvv31hj6w7z367v"))))
|
(base32 "0f81mzccdadryzaf2dbad1araq4nadp9mssyvdvv31hj6w7z367v"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
(list #:skip-build? #t
|
(list #:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
`(("rust-askama-derive" ,rust-askama-derive-0.11)
|
`(("rust-askama-derive" ,rust-askama-derive-0.11)
|
||||||
("rust-askama-escape" ,rust-askama-escape-0.10)
|
("rust-askama-escape" ,rust-askama-escape-0.10)
|
||||||
("rust-askama-shared" ,rust-askama-shared-0.12))))
|
("rust-askama-shared" ,rust-askama-shared-0.12))))))
|
||||||
(home-page "https://github.com/djc/askama")
|
|
||||||
(synopsis "Type-safe, compiled Jinja-like templates for Rust")
|
|
||||||
(description
|
|
||||||
"This package provides a type-safe, compiled Jinja-like template
|
|
||||||
library for Rust.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-as-raw-xcb-connection-1
|
(define-public rust-as-raw-xcb-connection-1
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Reference in a new issue