Subject: [PATCH 6/24]: gnu: just: New package.

From: Jean Pierre De Jesus DIAZ <[email-masked]>
Date: Wed, 20 Jul 2022 12:15:42 +0000

Empty Message

From d36df7a21e1dea2ee9a3f977ce21099bfa8c3864 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Mon, 18 Jul 2022 13:38:30 +0200
Subject: [PATCH 06/24] gnu: rust-roaring-0.9: New package.

* gnu/packages/crates-io.scm (rust-roaring-0.9): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b027b5766a..fea9bb9c73 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14846,6 +14846,38 @@ (define-public rust-crunchy-0.1
         (sha256
           (base32 "1nnbh2k3pv1diyd0i0p3a08kd4afqc17yz0b43hn5xn9qlqs9x52"))))))
 
+(define-public rust-roaring-0.9
+  (package
+    (name "rust-roaring")
+    (version "0.9.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "roaring" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1xx5hl7vplvn7ljw8libpvs04j3dpdhg233yzrb9j09j9smrqlyx"))
+              (modules '((guix build utils)))
+              (snippet
+                `(substitute* "Cargo.toml"
+                   ;; Relax bytemuck version.
+                   (("1\\.7\\.3") "1")
+                   ;; Relax retain-mut version.
+                   (("0\\.1\\.6") "0.1")))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-retain-mut" ,rust-retain-mut-0.1))
+       #:cargo-development-inputs
+       (("rust-proptest" ,rust-proptest-1))))
+    (home-page "http://roaringbitmap.org/")
+    (synopsis "Compressed bitmaps")
+    (description "This package is a pure Rust implementation of roaring bitmaps
+compressed bitmaps.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-roxmltree-0.14
   (package
     (name "rust-roxmltree")
-- 
2.36.1