Subject: [bug#71076] [PATCH 14/81] gnu: Add rust-rust-rocksdb-0.24.

From: Herman Rimm <[email-masked]>
Date: Mon, 20 May 2024 10:58:19 +0200

* gnu/packages/crates-io.scm (rust-rust-rocksdb-0.24): Add variable.

Change-Id: I58a7a6364d35faa54cd73ef3181970e6edf03839
---
 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 aa02c15a6f..7076dff8f2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67617,6 +67617,38 @@ (define-public rust-rust-librocksdb-sys-0.20
     (description "This package provides native bindings to librocksdb.")
     (license (list license:expat license:asl2.0 license:bsd-3))))
 
+(define-public rust-rust-rocksdb-0.24
+  (package
+    (name "rust-rust-rocksdb")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rust-rocksdb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "1098330423im42m3m9kx1l1yplrv6j8zg49i4y703l6kn4wawvnk"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-libc-0.2
+                           rust-rust-librocksdb-sys-0.20
+                           rust-serde-1)
+      #:cargo-development-inputs (list rust-bincode-1
+                                       rust-pretty-assertions-1
+                                       rust-serde-1
+                                       rust-tempfile-3
+                                       rust-trybuild-1)))
+    (native-inputs (list clang pkg-config))
+    (inputs (list (list zstd "lib")))
+    (home-page "https://github.com/zaidoon1/rust-rocksdb")
+    (synopsis "Rust wrapper for Facebook's RocksDB embeddable database")
+    (description
+     "This package provides a Rust wrapper for Facebook's @code{RocksDB}
+embeddable database.")
+    (license license:asl2.0)))
+
 (define-public rust-rustbox-0.11
   (package
     (name "rust-rustbox")
-- 
2.41.0