summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:53:32 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:51 +0200
commit75af9b5e3adf4f8389e5e2faf4e35f9c819d405d (patch)
tree5c593ac159d92bb31097d13d4fffd05da7e29511 /gnu/packages
parent507ec15f0b0ef4a3669d4c87901a3f924f35414d (diff)
downloadguix-75af9b5e3adf4f8389e5e2faf4e35f9c819d405d.tar.gz
gnu: Add rust-serdect-0.1.
* gnu/packages/crates-io.scm (rust-serdect-0.1): New variable.

Change-Id: I7d49319ca2d562f268294fbad99bad32179e9e56
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 46fb23966d..e342adb498 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65735,6 +65735,37 @@ Rust's serde.")
 for data that potentially contains secrets (e.g. cryptographic keys).")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-serdect-0.1
+  (package
+    (name "rust-serdect")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serdect" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0b6krqs77vzwzdjcrcywlmlwd3msfpgmkkbxx8q9njypyhdwx3q3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+                                   ("rust-ciborium" ,rust-ciborium-0.2)
+                                   ("rust-hex-literal" ,rust-hex-literal-0.3)
+                                   ("rust-proptest" ,rust-proptest-1)
+                                   ("rust-serde" ,rust-serde-1)
+                                   ("rust-serde-json-core" ,rust-serde-json-core-0.4)
+                                   ("rust-serde-json" ,rust-serde-json-1)
+                                   ("rust-toml" ,rust-toml-0.5))))
+    (home-page "https://github.com/RustCrypto/formats/tree/master/serdect")
+    (synopsis "Constant-time serde serializer/deserializer helpers")
+    (description
+     "Constant-time serde serializer/deserializer helpers for data that potentially
+contains secrets (e.g. cryptographic keys).")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-serial-test-2
   (package
     (name "rust-serial-test")