gnu: Add rust-arrayvec-0.4.

* gnu/packages/crates-io.scm (rust-arrayvec-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2019-12-13 23:39:01 -08:00 committed by Efraim Flashner
parent 5377314f86
commit fb17428e64
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -97,6 +97,37 @@ (define-public rust-antidote-1.0
(license (list license:asl2.0
license:expat))))
(define-public rust-arrayvec-0.4
(package
(name "rust-arrayvec")
(version "0.4.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "arrayvec" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0wcch3ca9qvkixgdbd2afrv1xa27l83vpraf7frsh9l8pivgpiwj"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-nodrop" ,rust-nodrop-0.1)
("rust-serde" ,rust-serde-1.0))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1)
("rust-matches" ,rust-matches-0.1)
("rust-serde-test" ,rust-serde-test-1.0))))
(home-page "https://github.com/bluss/arrayvec")
(synopsis "Vector with fixed capacity")
(description
"This package provides a vector with fixed capacity, backed by an
array (it can be stored on the stack too). Implements fixed capacity
ArrayVec and ArrayString.")
(license (list license:expat license:asl2.0))))
(define-public rust-atty-0.2
(package
(name "rust-atty")