From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 61357@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#61357] [PATCH 1/2] gnu: Add qxlsx.
Date: Wed, 8 Feb 2023 02:30:06 +0000 [thread overview]
Message-ID: <20230208023008.3641-1-sharlatanus@gmail.com> (raw)
In-Reply-To: <20230208022759.3470-1-sharlatanus@gmail.com>
* gnu/packages/qt.scm (qxlsx): New variable.
---
gnu/packages/qt.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 7a1d60a2e5..70c534dcb6 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -27,6 +27,7 @@
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022 Yash Tiwari <yasht@mailbox.org>
+;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1107,6 +1108,44 @@ (define-public qtx11extras
(description "The QtX11Extras module includes the library to access X11
from within Qt 5.")))
+(define-public qxlsx
+ (package
+ (name "qxlsx")
+ (version "1.4.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/QtExcel/QXlsx")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1h95h96vz47cnfp62j7bx6ih725gbv005hm0cfqanfvqd5xd9qsg"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list "../source/QXlsx"
+ "-DCMAKE_BUILD_TYPE=Release"
+ (string-append "-DCMAKE_INSTALL_PREFIX=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "../source/TestExcel"
+ (invoke "qmake")
+ (invoke "make" "-j" (number->string (parallel-job-count)))
+ (invoke "./TestExcel"))))))))
+ (inputs
+ (list qtbase-5))
+ (home-page "https://qtexcel.github.io/QXlsx/")
+ (synopsis "C++ library to read/write Excel XLSX files using Qt")
+ (description
+ "QXlsx is a successor of QtXlsx and providies a functionality to work with Excel
+XLSX document format.")
+ (license license:expat)))
+
(define-public qtxmlpatterns
(package (inherit qtsvg-5)
(name "qtxmlpatterns")
--
2.39.1
next prev parent reply other threads:[~2023-02-08 2:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 2:27 [bug#61357] [PATCH 0/2] gnu: Stellarium: Update to 1.2 Sharlatan Hellseher
2023-02-08 2:30 ` Sharlatan Hellseher [this message]
2023-02-08 2:30 ` [bug#61357] [PATCH] gnu: cl-croatoan: Update to 0.0.1-7.622a590 Sharlatan Hellseher
2023-02-08 2:30 ` [bug#61357] [PATCH 2/2] gnu: stellarium: Update to 1.2 Sharlatan Hellseher
2023-02-20 13:14 ` bug#61357: [PATCH 1/2] gnu: Add qxlsx Nicolas Goaziou
2023-02-08 10:14 ` [bug#61357] Sharlatan Hellseher
2023-02-18 21:28 ` [bug#61357] Sharlatan Hellseher
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=20230208023008.3641-1-sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=61357@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.