summary refs log tree commit diff
diff options
context:
space:
mode:
authorGabriel Arazas <foo.dogsquared@gmail.com>2020-09-25 01:53:34 +0800
committerEfraim Flashner <efraim@flashner.co.il>2020-09-29 09:41:46 +0300
commit463f41e62dabaf35d55b8b90106b4506bf4b906d (patch)
tree3cc98d5b7f60dd1aad948a68cfd19821804dfa99
parentcdf0e84c34caf62162af8d90c2ad0c6a7dcfbc66 (diff)
downloadguix-463f41e62dabaf35d55b8b90106b4506bf4b906d.tar.gz
gnu: Add rust-bit-set-0.4.
* gnu/packages/crates-io.scm (rust-bit-set-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c5d5d5236c..f8e9694ed7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1761,6 +1761,27 @@ that uses Serde for transforming structs into bytes and vice versa!")
      "This package provides a set of bits.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-bit-set-0.4
+  (package
+    (inherit rust-bit-set-0.5)
+    (name "rust-bit-set")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bit-set" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0320hhcbr73yzjpj2237vw2zq728yg7vmzb8dardg04ff4263gyr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bit-vec" ,rust-bit-vec-0.4))
+       #:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.3))))))
+
 (define-public rust-bit-vec-0.5
   (package
     (name "rust-bit-vec")