Subject: [bug#70685] [PATCH 24/30] gnu: Add rust-transient-btree-index-0.5.

From: Wilko Meyer <[email-masked]>
Date: Wed, 1 May 2024 00:27:29 +0200

* gnu/packages/crates-io.scm (rust-transient-btree-index-0.5): New variable.

Change-Id: Iacb1250a3ac2bf61bd182b489b81f057123358a4
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c030ad9a8..6673c701f2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73958,6 +73958,35 @@ (define-public rust-traitobject-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-transient-btree-index-0.5
+  (package
+    (name "rust-transient-btree-index")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "transient-btree-index" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1kpb30pg8i0z413xq4qjf8z8pks7h8aig2zzvy6qn7jsl5ifnawi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-binary-layout" ,rust-binary-layout-2)
+                       ("rust-bincode" ,rust-bincode-1)
+                       ("rust-linked-hash-map" ,rust-linked-hash-map-0.5)
+                       ("rust-memmap2" ,rust-memmap2-0.5)
+                       ("rust-num-integer" ,rust-num-integer-0.1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-derive" ,rust-serde-derive-1)
+                       ("rust-tempfile" ,rust-tempfile-3)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/thomaskrause/transient-btree-index")
+    (synopsis
+     "BTree index backed by temporary files")
+    (description
+     "This crate allows you to create a BTree index backed by temporary files.")
+    (license license:asl2.0)))
+
 (define-public rust-trash-2
   (package
     (name "rust-trash")
-- 
2.41.0