Subject: [PATCH 3/6] gnu: Add kubazip.

From: [email-masked]
Date: Sat, 8 Mar 2025 18:55:31 +0800

From: 宋文武 <[email-masked]>

* gnu/packages/compression.scm (kubazip): New variable.

Change-Id: I2066f141575d476e866905bbc52c05e1ec81a226
---
 gnu/packages/compression.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index cdb029b225..127466a0f7 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -204,6 +204,26 @@ (define-public minizip
 the @code{zlib} source.")
     (license (package-license zlib))))
 
+(define-public kubazip
+  (package
+    (name "kubazip")
+    (version "0.3.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/kuba--/zip")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "182p059nvs5vpdzmmkn2g6mphsvkjdcxq6gpbh58dcsjj507j9ab"))))
+    (build-system cmake-build-system)
+    (synopsis "Simple zip library")
+    (home-page "https://github.com/kuba--/zip")
+    (description
+     "This package provides a simple zip library based on miniz.")
+    (license license:unlicense)))
+
 (define-public fastjar
   (package
    (name "fastjar")
-- 
2.48.1