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

Message ID 75d55dda0123187eb783365fb31d4f936dbdda41.1736051366.git.lockbox@struct.foo
State New
Headers
Series [bug#75127,rust-team,v5,01/57] gnu: Add cargo-nextest. |

Commit Message

Jordan Moore Jan. 5, 2025, 4:29 a.m. UTC
  * 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(+)
  

Patch

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 <voroskoi@gmail.com>
 ;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
 ;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
+;;; Copyright © 2025 Jordan Moore <lockbox@struct.foo>
 ;;;
 ;;; 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))))