unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "\( via Guix-patches" via <guix-patches@gnu.org>
To: 57034@debbugs.gnu.org
Cc: "\(" <paren@disroot.org>
Subject: [bug#57034] [PATCH v2] gnu: packages: Add miniz.
Date: Mon, 12 Dec 2022 22:45:04 +0000	[thread overview]
Message-ID: <20221212224504.21905-1-paren@disroot.org> (raw)
In-Reply-To: <20220807120201.19970-1-paren@disroot.org>

* gnu/packages/compression.scm (miniz): New variable.
---
 gnu/packages/compression.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index d2a1ed36f7..aa6404d1a3 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io>
 ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2022 ( <paren@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2820,3 +2821,30 @@ (define-public fcrackzip
     (synopsis "Zip password cracker")
     (description "Fcrackzip is a Zip file password cracker.")
     (license license:gpl2+)))
+
+(define-public miniz
+  (package
+    (name "miniz")
+    (version "3.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/richgel999/miniz")
+                    (commit commit)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0lchj2yhvaiy0bc28xqnjqjhv4yj4kffcgxgfiikn634milwd5b4"))))
+     (build-system cmake-build-system)
+     (arguments
+      (list #:configure-flags
+            #~(list "-DBUILD_SHARED_LIBS=ON")
+            ;; No test target.
+            #:tests? #f))
+     (home-page "https://github.com/richgel999/miniz")
+     (synopsis "Alternative to zlib")
+     (description
+      "miniz is an alternative to, and in many cases drop-in replacement for, the
+zlib data compression libraries, which provides APIs for manipulating zlib, DEFLATE,
+PNG, and ZIP files from C.")
+     (license license:expat)))

base-commit: 1d160f41f5e973ea2bbbf8bc80d216b5d9b0974c
-- 
2.38.1





      parent reply	other threads:[~2022-12-12 22:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-07 12:02 [bug#57034] [PATCH] gnu: packages: Add miniz ( via Guix-patches via
2022-08-07 16:42 ` Liliana Marie Prikler
2022-08-07 16:59   ` ( via Guix-patches via
2022-08-07 17:19     ` Liliana Marie Prikler
2022-08-07 17:22       ` ( via Guix-patches via
2022-08-07 17:01   ` ( via Guix-patches via
2022-08-08  0:36   ` Tobias Geerinckx-Rice via Guix-patches via
2022-08-08  4:29     ` Liliana Marie Prikler
2022-12-12 22:45 ` ( via Guix-patches via [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221212224504.21905-1-paren@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=57034@debbugs.gnu.org \
    --cc=paren@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).