guix-commits
[Top][All Lists]
Advanced

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

70/299: gnu: Add rust-smallvec-0.6.


From: guix-commits
Subject: 70/299: gnu: Add rust-smallvec-0.6.
Date: Thu, 2 Jan 2020 13:19:14 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit b1c488a4057571e417fe65eebefcfc85ad562ac6
Author: John Soo <address@hidden>
Date:   Sat Dec 14 15:19:18 2019 -0800

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a85e76c..6efd754 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5023,6 +5023,33 @@ data type.")
     (properties '((hidden? . #t)))
     (license license:expat)))
 
+(define-public rust-smallvec-0.6
+  (package
+    (name "rust-smallvec")
+    (version "0.6.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "smallvec" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1dyl43rgzny79jjpgzi07y0ly2ggx1xwsn64csxj0j91bsf6lq5b"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-serde" ,rust-serde-1.0))
+       #:cargo-development-inputs
+       (("rust-bincode" ,rust-bincode-1.1))))
+    (home-page "https://github.com/servo/rust-smallvec";)
+    (synopsis "Small vector optimization")
+    (description
+     "'Small vector' optimization: store up to a small number of items on the
+stack.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-socket2-0.3
   (package
     (name "rust-socket2")



reply via email to

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