unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57034] [PATCH] gnu: packages: Add miniz.
@ 2022-08-07 12:02 ( via Guix-patches via
  2022-08-07 16:42 ` Liliana Marie Prikler
  2022-12-12 22:45 ` [bug#57034] [PATCH v2] " ( via Guix-patches via
  0 siblings, 2 replies; 9+ messages in thread
From: ( via Guix-patches via @ 2022-08-07 12:02 UTC (permalink / raw)
  To: 57034; +Cc: (

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

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 6070c5beb1..cb1283c9a1 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io>
+;;; Copyright © 2022 ( <paren@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2784,3 +2785,34 @@ (define-public fcrackzip
     (synopsis "Zip password cracker")
     (description "Fcrackzip is a Zip file password cracker.")
     (license license:gpl2+)))
+
+(define-public miniz
+  ;; Last release was on 27-06-2021; there have been many commits since
+  ;; then.
+  (let ((commit "be92575500f71dfb5ac7b0c5bb47b6e736c23039")
+        (revision "0"))
+    (package
+     (name "miniz")
+     (version (git-version "2.2.0" revision commit))
+     (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
+                "0w42vagcv4b0hcf0jk7vamrcpmw62dblx9856j98msdfm3qv1xzi"))))
+     (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 "Simple replacement for @code{zlib}")
+     (description
+      "@code{miniz} is a small, simple alternative to the @code{zlib}
+data compression library for manipulating zlib, DEFLATE, PNG, and ZIP
+files from C.")
+     (license license:expat))))
-- 
2.37.1





^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-12-12 22:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [bug#57034] [PATCH v2] " ( via Guix-patches via

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).