Subject: [bug#75127] [PATCH rust-team v5 38/57] gnu: Add rust-zipsign-api-0.1.

From: Jordan Moore <[email-masked]>
Date: Sat, 4 Jan 2025 23:29:08 -0500

* gnu/packages/crates-io.scm (rust-zipsign-api-0.1): New variable.

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

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 8e2290ca99..28bf2f435d 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2023 VÖRÖSKŐI András <[email-masked]>
 ;;; Copyright © 2024 Wilko Meyer <[email-masked]>
 ;;; Copyright © 2024 Herman Rimm <[email-masked]>
+;;; Copyright © 2025 Jordan Moore <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -48,6 +49,7 @@ (define-module (gnu packages crates-crypto)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crates-apple)
   #:use-module (gnu packages crates-check)
+  #:use-module (gnu packages crates-compression)
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crates-tls)
   #:use-module (gnu packages crates-windows)
@@ -6604,3 +6606,28 @@ (define-public rust-z85-3
      "This package provides a Rust implementation of @code{ZeroMQ's} Z85
 encoding mechanism with padding.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-zipsign-api-0.1
+  (package
+    (name "rust-zipsign-api")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zipsign-api" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0z30vzhhhd1va9z7ksdw8x8f6y8jb200h2ryk85wvnx9mm3aa4v4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-base64" ,rust-base64-0.22)
+                       ("rust-ed25519-dalek" ,rust-ed25519-dalek-2)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-zip" ,rust-zip-2))))
+    (home-page "https://github.com/Kijewski/zipsign")
+    (synopsis
+     "Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key")
+    (description
+     "This package provides Sign and verify `.zip` and `.tar.gz` files with an
+ed25519 signing key.")
+    (license (list license:asl2.0))))
-- 
2.46.0