guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

167/299: gnu: Add rust-stackvector-1.0.


From: guix-commits
Subject: 167/299: gnu: Add rust-stackvector-1.0.
Date: Thu, 2 Jan 2020 13:19:36 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit a4be6e9c894c9a9a2a50cec17ae4e54d3d64c221
Author: John Soo <address@hidden>
Date:   Sun Dec 15 08:30:28 2019 -0800

    gnu: Add rust-stackvector-1.0.
    
    * gnu/packages/crates-io.scm (rust-stackvector-1.0): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 84410a6..4cd2d14 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]