From: Felix Gruber <felgru@posteo.net>
To: 47443@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#47443] [PATCH 2/6] gnu: Add libxlsxwriter.
Date: Sun, 28 Mar 2021 10:40:19 +0200 [thread overview]
Message-ID: <20210328084023.3749-2-felgru@posteo.net> (raw)
In-Reply-To: <20210328084023.3749-1-felgru@posteo.net>
* gnu/packages/xml.scm (libxlsxwriter): New variable.
---
gnu/packages/xml.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index defc0323e6..a8b0d996cf 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -29,6 +29,7 @@
;;; Copyright © 2021 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -215,6 +216,47 @@ hierarchical form with variable field lengths.")
project (but it is usable outside of the Gnome platform).")
(license license:x11)))
+(define-public libxlsxwriter
+ (package
+ (name "libxlsxwriter")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jmcnamara/libxlsxwriter")
+ (commit (string-append "RELEASE_" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "070pfqggia71z4ichr5yrwfndfz903z941ns72vy0lvb1mpp7g05"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Remove bundled minizip source
+ '(begin
+ (delete-file-recursively "third_party/minizip")
+ #t))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; tests require unpackaged ctest
+ #:test-target "test"
+ #:make-flags
+ (list "CC=gcc"
+ (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ "USE_STANDARD_TMPFILE=1"
+ "USE_SYSTEM_MINIZIP=1")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)))) ; no configure script
+ (inputs
+ `(("minizip" ,minizip)))
+ (home-page "https://github.com/jmcnamara/libxlsxwriter")
+ (synopsis "C library for creating Excel XLSX files")
+ (description
+ "Libxlsxwriter is a C library that can be used to write text, numbers,
+formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.")
+ (license (list license:bsd-2))))
+
;; This is the latest stable release.
(define-public libxmlplusplus
(package
--
2.30.2
next prev parent reply other threads:[~2021-03-28 8:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-28 8:34 [bug#47443] [PATCH 0/6] Update spatialite-gui Felix Gruber
2021-03-28 8:40 ` [bug#47443] [PATCH 1/6] gnu: libspatialite: Update dependencies Felix Gruber
2021-03-28 8:40 ` Felix Gruber [this message]
2021-03-28 8:40 ` [bug#47443] [PATCH 3/6] licenses: Add Free Art License 1.3 Felix Gruber
2021-03-28 8:40 ` [bug#47443] [PATCH 4/6] gnu: Add librasterlite2 Felix Gruber
2021-03-28 8:40 ` [bug#47443] [PATCH 5/6] gnu: spatialite-gui: Update to 2.1.0-beta1 Felix Gruber
2021-03-28 8:40 ` [bug#47443] [PATCH 6/6] gnu: libgaiagraphics: Remove package Felix Gruber
2021-03-29 10:09 ` bug#47443: [PATCH 0/6] Update spatialite-gui Guillaume Le Vaillant
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210328084023.3749-2-felgru@posteo.net \
--to=felgru@posteo.net \
--cc=47443@debbugs.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.