guix-commits
[Top][All Lists]
Advanced

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

127/299: gnu: Add rust-odds-0.3.


From: guix-commits
Subject: 127/299: gnu: Add rust-odds-0.3.
Date: Thu, 2 Jan 2020 13:19:26 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 20690513d5b98d641f490b6a4a670e3a8dc2f724
Author: John Soo <address@hidden>
Date:   Sat Dec 14 19:26:56 2019 -0800

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0dfe93f..fcfba66 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4181,6 +4181,39 @@ implementation (which is unstable / requires nightly).")
 formats.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-odds-0.3
+  (package
+    (name "rust-odds")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "odds" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0rdnxa0na4897yb0svb3figz35g4imxjv61yfm2j21gbh5q8v8d9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-rawpointer" ,rust-rawpointer-0.1)
+        ("rust-rawslice" ,rust-rawslice-0.1)
+        ("rust-unchecked-index" ,rust-unchecked-index-0.2))
+       #:cargo-development-inputs
+       (("rust-itertools" ,rust-itertools-0.8)
+        ("rust-lazy-static" ,rust-lazy-static-1.3)
+        ("rust-memchr" ,rust-memchr-2.2)
+        ("rust-quickcheck" ,rust-quickcheck-0.8))))
+    (home-page "https://github.com/bluss/odds";)
+    (synopsis "Extra functionality for slices, strings and other things")
+    (description
+     "Odds and ends collection miscellania.  Extra functionality for
+slices (@code{.find()}, @code{RevSlice}), strings and other things.
+Things in odds may move to more appropriate crates if we find them.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-openssl-0.10
   (package
     (name "rust-openssl")



reply via email to

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