gnu: Add rust-askama-shared-0.12.
* gnu/packages/crates-io.scm (rust-askama-shared-0.12): New variable. (rust-askama-shared-0.11): Inherit from RUST-ASKAMA-SHARED-0.12. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>master
parent
9ad73cbc6e
commit
d9984843ca
|
@ -3553,41 +3553,71 @@ the web.")
|
||||||
extracted from Askama.")
|
extracted from Askama.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-askama-shared-0.12
|
||||||
|
(package
|
||||||
|
(name "rust-askama-shared")
|
||||||
|
(version "0.12.2")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "askama_shared" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1l4fycmw65zyvfabf672sj2pc0ilfcj0y6a0csygq1wa26a2nwmz"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
`(("rust-askama-escape" ,rust-askama-escape-0.10)
|
||||||
|
("rust-comrak" ,rust-comrak-0.12)
|
||||||
|
("rust-humansize" ,rust-humansize-1)
|
||||||
|
("rust-mime" ,rust-mime-0.3)
|
||||||
|
("rust-mime-guess" ,rust-mime-guess-2)
|
||||||
|
("rust-nom" ,rust-nom-7)
|
||||||
|
("rust-num-traits" ,rust-num-traits-0.2)
|
||||||
|
("rust-percent-encoding"
|
||||||
|
,rust-percent-encoding-2)
|
||||||
|
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
|
("rust-quote" ,rust-quote-1)
|
||||||
|
("rust-serde" ,rust-serde-1)
|
||||||
|
("rust-serde-json" ,rust-serde-json-1)
|
||||||
|
("rust-serde-yaml" ,rust-serde-yaml-0.8)
|
||||||
|
("rust-syn" ,rust-syn-1)
|
||||||
|
("rust-toml" ,rust-toml-0.5))))
|
||||||
|
(home-page "https://github.com/djc/askama")
|
||||||
|
(synopsis "Shared code for Askama")
|
||||||
|
(description "This package provides shared code for Askama.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-askama-shared-0.11
|
(define-public rust-askama-shared-0.11
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-askama-shared-0.12)
|
||||||
(name "rust-askama-shared")
|
(name "rust-askama-shared")
|
||||||
(version "0.11.1")
|
(version "0.11.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "askama_shared" version))
|
(uri (crate-uri "askama_shared" version))
|
||||||
(file-name
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1g3ksf5is0qwx9rd5lxn5gbvxfcpby5gl9cahg26wl1w1xzbg0i5"))))
|
||||||
"1g3ksf5is0qwx9rd5lxn5gbvxfcpby5gl9cahg26wl1w1xzbg0i5"))))
|
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
(list #:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-askama-escape" ,rust-askama-escape-0.10)
|
`(("rust-askama-escape" ,rust-askama-escape-0.10)
|
||||||
("rust-humansize" ,rust-humansize-1)
|
("rust-humansize" ,rust-humansize-1)
|
||||||
("rust-nom" ,rust-nom-6)
|
("rust-nom" ,rust-nom-6)
|
||||||
("rust-num-traits" ,rust-num-traits-0.2)
|
("rust-num-traits" ,rust-num-traits-0.2)
|
||||||
("rust-percent-encoding"
|
("rust-percent-encoding"
|
||||||
,rust-percent-encoding-2)
|
,rust-percent-encoding-2)
|
||||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
("rust-quote" ,rust-quote-1)
|
("rust-quote" ,rust-quote-1)
|
||||||
("rust-serde" ,rust-serde-1)
|
("rust-serde" ,rust-serde-1)
|
||||||
("rust-serde-derive" ,rust-serde-derive-1)
|
("rust-serde-derive" ,rust-serde-derive-1)
|
||||||
("rust-serde-json" ,rust-serde-json-1)
|
("rust-serde-json" ,rust-serde-json-1)
|
||||||
("rust-serde-yaml" ,rust-serde-yaml-0.8)
|
("rust-serde-yaml" ,rust-serde-yaml-0.8)
|
||||||
("rust-syn" ,rust-syn-1)
|
("rust-syn" ,rust-syn-1)
|
||||||
("rust-toml" ,rust-toml-0.5))))
|
("rust-toml" ,rust-toml-0.5))))))
|
||||||
(home-page "https://github.com/djc/askama")
|
|
||||||
(synopsis "Shared code for Askama")
|
|
||||||
(description "This package provides a shared code for Askama.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-askama-derive-0.10
|
(define-public rust-askama-derive-0.10
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue