summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorGabriel Arazas <foo.dogsquared@gmail.com>2020-09-25 01:53:33 +0800
committerEfraim Flashner <efraim@flashner.co.il>2020-09-29 09:41:39 +0300
commitcdf0e84c34caf62162af8d90c2ad0c6a7dcfbc66 (patch)
tree6558942e908fcff29e709fb477be2a4742626638 /gnu
parent58d743942cd72610ef6473aa12b4430fb7a22166 (diff)
downloadguix-cdf0e84c34caf62162af8d90c2ad0c6a7dcfbc66.tar.gz
gnu: Add rust-bit-vec-0.4.
* gnu/packages/crates-io.scm (rust-bit-vec-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c26ac4cae5..c5d5d5236c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1787,6 +1787,24 @@ that uses Serde for transforming structs into bytes and vice versa!")
      "This package provides a vector of bits.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-bit-vec-0.4
+  (package
+    (inherit rust-bit-vec-0.5)
+    (name "rust-bit-vec")
+    (version "0.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bit-vec" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0pw902a8ail0k64a7092a8vngfzsq7xkj2r22hz6q1z62s5zzd02"))))
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.3))))))
+
 (define-public rust-bitflags-1
   (package
     (name "rust-bitflags")