Subject: [bug#71076] [PATCH 10/81] gnu: Add rust-persy-1.

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

* gnu/packages/crates-io.scm (rust-persy-1): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dfbd2cc387..3e4e3b5449 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54376,6 +54376,39 @@ (define-public rust-permutohedron-0.2
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-persy-1
+  (package
+    (name "rust-persy")
+    (version "1.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "persy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00kddxyhlbsfnv5yg3w6x80yy8ww8qrjcjr81vnhvadk18jvgx4y"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-backtrace-0.3
+                           rust-crc-3
+                           rust-data-encoding-2
+                           rust-fs2-0.4
+                           rust-linked-hash-map-0.5
+                           rust-rand-0.8
+                           rust-thiserror-1
+                           rust-unsigned-varint-0.8
+                           rust-zigzag-0.1)
+      #:cargo-development-inputs (list rust-serde-1
+                                       rust-serde-derive-1
+                                       rust-serde-json-1
+                                       rust-tempfile-3)))
+    (home-page "https://persy.rs")
+    (synopsis "Transactional Persistence Engine")
+    (description
+     "This package provides persy, a Transactional Persistence Engine.")
+    (license license:mpl2.0)))
+
 (define-public rust-pest-2
   (package
     (name "rust-pest")
-- 
2.41.0