guix-commits
[Top][All Lists]
Advanced

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

02/06: gnu: Add rust-bit-set-0.4.


From: guix-commits
Subject: 02/06: gnu: Add rust-bit-set-0.4.
Date: Tue, 29 Sep 2020 02:58:48 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 463f41e62dabaf35d55b8b90106b4506bf4b906d
Author: Gabriel Arazas <foo.dogsquared@gmail.com>
AuthorDate: Fri Sep 25 01:53:34 2020 +0800

    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>
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c5d5d52..f8e9694 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")



reply via email to

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