summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 08:30:28 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:41 +0200
commita4be6e9c894c9a9a2a50cec17ae4e54d3d64c221 (patch)
tree39b8e46fbc43b1a7f14c343b92644364b2b6de5a
parent15466f9acdca23a874ceaeaa15df18deab96738b (diff)
gnu: Add rust-stackvector-1.0.
* gnu/packages/crates-io.scm (rust-stackvector-1.0): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 84410a6428..4cd2d146cd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7254,6 +7254,32 @@ deeply recursive algorithms that may accidentally blow the stack.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-stackvector-1.0
+ (package
+ (name "rust-stackvector")
+ (version "1.0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "stackvector" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bv820fhdad16islwli1g3iksk39ivf0zaqz4j1m08vq15jjaiqw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-unreachable" ,rust-unreachable-1.0))
+ #:cargo-development-inputs
+ (("rust-rustc-version" ,rust-rustc-version-0.2))))
+ (home-page "https://github.com/Alexhuszagh/rust-stackvector")
+ (synopsis "Vector-like facade for stack-allocated arrays")
+ (description
+ "StackVec: vector-like facade for stack-allocated arrays.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-static-assertions-0.3
(package
(name "rust-static-assertions")