guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#67077] [PATCH 07/36] gnu: Add rust-borsh-0.10.


From: VÖRÖSKŐI András
Subject: [bug#67077] [PATCH 07/36] gnu: Add rust-borsh-0.10.
Date: Sat, 11 Nov 2023 16:35:15 +0100

* gnu/packages/crates-io.scm (rust-borsh-0.10): New variable.

Change-Id: Ib622fc9af07092dfa8f7a81a3816586999716c12
---
 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 2acbf4931e..0d2c824456 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9261,6 +9261,33 @@ (define-public rust-blowfish-0.9
     (description "Blowfish block cipher")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-borsh-0.10
+  (package
+    (name "rust-borsh")
+    (version "0.10.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "borsh" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0sq4l9jfik5dmpy1islcj40bing1jkji2q1qbrkvq1d02n92f521"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;; failing tests
+       #:cargo-inputs
+       (("rust-borsh-derive" ,rust-borsh-derive-0.10)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-hashbrown" ,rust-hashbrown-0.13))
+       #:cargo-development-inputs
+       (("rust-bytes" ,rust-bytes-1))))
+    (home-page "https://borsh.io";)
+    (synopsis "Borsch is the binary object representation serializer for 
hashing")
+    (description "This crate implements @code{borsh}, the binary object 
representation
+serializer for hasing.  It is meant to be used in security-critical projects 
as it
+prioritizes consistency, safety, speed, and comes with a strict 
specification.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-borsh-derive-0.10
   (package
     (name "rust-borsh-derive")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]