Subject: [bug#76574] [PATCH 5/9] gnu: Add rust-patricia-tree-0.8.

From: Nicolas Goaziou <[email-masked]>
Date: Wed, 26 Feb 2025 01:00:42 +0100

* gnu/packages/crates-io.scm (rust-patricia-tree-0.8): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f21c56e605..bbf949800d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52779,6 +52779,33 @@ (define-public rust-pathsearch-0.2
     (description "This package provides Search for files in PATH.")
     (license license:expat)))
 
+(define-public rust-patricia-tree-0.8
+  (package
+    (name "rust-patricia-tree")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "patricia_tree" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0s5fya6rvgg2gxxp5mbv0xdq8jqikps1sc6snk23zrgzkd9z9wii"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-2)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-clap" ,rust-clap-4)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/sile/patricia_tree")
+    (synopsis "Memory-efficient data structures based on Patricia tree")
+    (description
+     "This package provides memory-efficient data structures based on
+Patricia tree.")
+    (license license:expat)))
+
 (define-public rust-paw-1
   (package
     (name "rust-paw")
-- 
2.48.1