From: "Wiktor Żelazny" <wz@freeshell.de>
To: 57337@debbugs.gnu.org
Cc: ludo@gnu.org
Subject: [bug#57337] [PATCH v3 1/2] gnu: Add miniz-cpp.
Date: Sun, 5 Feb 2023 21:18:32 +0100 [thread overview]
Message-ID: <20230205201833.24156-1-wz@freeshell.de> (raw)
In-Reply-To: <20220822092753.31295-1-wz@freeshell.de>
* gnu/packages/cpp.scm (miniz-cpp): New variable.
---
gnu/packages/cpp.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 6fa4c0f7a0..61a9aa37c2 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2427,3 +2427,38 @@ (define-public ftxui
@item No dependencies.
@end itemize")
(license license:expat)))
+
+(define-public miniz-cpp
+ (let ((commit "64f974213ac16f78c008bd148c8a2a07e902f148")
+ (revision "1"))
+ (package
+ (name "miniz-cpp")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ ;; A fork repository that includes a patch necessary to get docxbox
+ ;; to compile. The patch is too big to be included in Guix. To be
+ ;; replaced with https://github.com/tfussell/miniz-cpp once
+ ;; https://github.com/tfussell/miniz-cpp/pull/11 gets merged.
+ (url "https://github.com/kstenschke/miniz-cpp")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1qm88545kch91dz3cbgl2cbkg6wjas3h399hm5c2pbqi8jycz6vy"))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan '(("zip_file.hpp" "include/")
+ ("LICENSE.md" "share/doc/miniz-cpp/")
+ ("README.md" "share/doc/miniz-cpp/")
+ ("examples" "share/doc/miniz-cpp/"))))
+ (home-page "https://github.com/tfussell/miniz-cpp/")
+ (synopsis
+ "Cross-platform header-only C++14 library for reading and writing
+ZIP files")
+ (description
+ "@code{miniz-cpp} is a cross-platform header-only library for
+reading and writing ZIP files using a nice simple API similar to Python's
+@command{zipfile}.")
+ (license license:expat))))
base-commit: 4b9e1e84585270a40cec485046ce15387405d256
--
2.39.1
next prev parent reply other threads:[~2023-02-05 20:19 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-22 9:27 [bug#57337] [PATCH 0/2] Add docxbox Wiktor Żelazny
2022-08-22 9:36 ` [bug#57337] [PATCH 1/2] gnu: Add miniz-cpp Wiktor Żelazny
2022-08-22 9:36 ` [bug#57337] [PATCH 2/2] gnu: Add docxbox Wiktor Żelazny
2022-09-08 12:49 ` [bug#57337] [PATCH 0/2] " Ludovic Courtès
2022-09-23 18:04 ` Wiktor Żelazny
2022-09-08 12:46 ` Ludovic Courtès
2022-09-23 17:46 ` Wiktor Żelazny
2022-09-08 12:44 ` Ludovic Courtès
2022-09-23 18:21 ` Wiktor Żelazny
2022-12-26 14:57 ` [bug#57337] [v2 " Wiktor Żelazny
2022-12-26 14:57 ` [bug#57337] [v2 1/2] gnu: Add miniz-cpp Wiktor Żelazny
2023-01-25 22:17 ` Ludovic Courtès
2022-12-26 14:57 ` [bug#57337] [v2 2/2] gnu: Add docxbox Wiktor Żelazny
2023-01-25 22:21 ` Ludovic Courtès
2023-01-28 19:50 ` Wiktor Żelazny
2023-02-05 20:18 ` Wiktor Żelazny [this message]
2023-02-05 20:18 ` [bug#57337] [PATCH v3 " Wiktor Żelazny
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=20230205201833.24156-1-wz@freeshell.de \
--to=wz@freeshell.de \
--cc=57337@debbugs.gnu.org \
--cc=ludo@gnu.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).