gnu: Add rust-arrayvec-0.7.
* gnu/packages/crates-io.scm (rust-arrayvec-0.7): New variable. (rust-arrayvec-0.5): inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>master
parent
493720d233
commit
1f92a0ce5a
|
@ -2236,10 +2236,10 @@ structures.")
|
||||||
"Macros to take array references of slices.")
|
"Macros to take array references of slices.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define-public rust-arrayvec-0.5
|
(define-public rust-arrayvec-0.7
|
||||||
(package
|
(package
|
||||||
(name "rust-arrayvec")
|
(name "rust-arrayvec")
|
||||||
(version "0.5.2")
|
(version "0.7.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -2248,7 +2248,7 @@ structures.")
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"12q6hn01x5435bprwlb7w9m7817dyfq55yrl4psygr78bp32zdi3"))))
|
"1xza6jbs8x51yhh4qnwjw1crm33bhl975r965fpq1hqhpfq5hbss"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
|
@ -2266,6 +2266,29 @@ array (it can be stored on the stack too). Implements fixed capacity
|
||||||
ArrayVec and ArrayString.")
|
ArrayVec and ArrayString.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-arrayvec-0.5
|
||||||
|
(package
|
||||||
|
(inherit rust-arrayvec-0.7)
|
||||||
|
(name "rust-arrayvec")
|
||||||
|
(version "0.5.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "arrayvec" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"12q6hn01x5435bprwlb7w9m7817dyfq55yrl4psygr78bp32zdi3"))))
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-serde" ,rust-serde-1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-bencher" ,rust-bencher-0.1)
|
||||||
|
("rust-matches" ,rust-matches-0.1)
|
||||||
|
("rust-serde-test" ,rust-serde-test-1))))))
|
||||||
|
|
||||||
(define-public rust-arrayvec-0.4
|
(define-public rust-arrayvec-0.4
|
||||||
(package
|
(package
|
||||||
(inherit rust-arrayvec-0.5)
|
(inherit rust-arrayvec-0.5)
|
||||||
|
|
Reference in New Issue