summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-13 23:39:01 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:13 +0200
commitfb17428e64718367a7076eb6f801cf9d7d09cccf (patch)
tree8cd0900705ce870a30bbf7847e183e0afc369ab6 /gnu/packages
parent5377314f86c89abe0c637d91ccaabaf084d4429d (diff)
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4cc61c0c02..79fbccdef1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -97,6 +97,37 @@ text or blue underlined text, on ANSI terminals.")
(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")