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