From 399b08b0001423daa5e2478ae1e4cfd948bf3082 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 08:30:28 -0800 Subject: [PATCH 166/263] gnu: Add rust-stackvector-1.0. * gnu/packages/crates-io.scm (rust-stackvector-1.0): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index adfea6ba20..89e979475f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7457,6 +7457,34 @@ 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 `(,license:asl2.0 ,license:expat)))) + (define-public rust-static-assertions-0.3 (package (name "rust-static-assertions") -- 2.24.1