[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add qxlsx.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add qxlsx. |
Date: |
Mon, 20 Feb 2023 08:13:54 -0500 |
This is an automated email from the git hooks/post-receive script.
ngz pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new e2435b60f1 gnu: Add qxlsx.
e2435b60f1 is described below
commit e2435b60f11265ec6a2fffccda3b7a65393535cc
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Feb 8 02:30:06 2023 +0000
gnu: Add qxlsx.
* gnu/packages/qt.scm (qxlsx): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/qt.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index b32a78085d..76e9e519c7 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.
;;;
@@ -1117,6 +1118,44 @@ support for MNG, TGA, TIFF and WBMP image formats.")))
(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")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add qxlsx.,
guix-commits <=