summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 08:34:23 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:42 +0200
commite017969bf0effa75c03fbec68ef369a4b418dd30 (patch)
treedbc88d845f2524f81e92ebdb19ac8c8f39cecc74
parent9fce9dd7586883d1c03ec507d86714519bfba5aa (diff)
downloadguix-e017969bf0effa75c03fbec68ef369a4b418dd30.tar.gz
gnu: Add rust-bit-set-0.5.
* gnu/packages/crates-io.scm (rust-bit-set-0.5): 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 db95b45a1f..61a325df3d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -456,6 +456,32 @@ and no more (caveat: black_box is still missing!).")
 that uses Serde for transforming structs into bytes and vice versa!")
     (license license:expat)))
 
+(define-public rust-bit-set-0.5
+  (package
+    (name "rust-bit-set")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bit-set" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "100ac8867bvbx9kv634w4xjk98b71i8nq4wdcvpf3cf4ha4j6k78"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bit-vec" ,rust-bit-vec-0.5))
+       #:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.4))))
+    (home-page "https://github.com/contain-rs/bit-set")
+    (synopsis "Set of bits")
+    (description
+     "This package provides a set of bits.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-bit-vec-0.5
   (package
     (name "rust-bit-vec")