guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#58481] [PATCH 7/9] gnu: Add qxlsx.


From: Cairn
Subject: [bug#58481] [PATCH 7/9] gnu: Add qxlsx.
Date: Thu, 13 Oct 2022 05:42:13 +0000

* gnu/packages/qt.scm (qxlsx): New variable.
---
 gnu/packages/qt.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 2d9923b19f..6169d8bb65 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
 ;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
 ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2022 Cairn <cairn@pm.me>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4390,6 +4391,32 @@ (define-public kdsoap
 web server.")
     (license (list license:gpl2 license:gpl3))))
 

+(define-public qxlsx
+  (package
+    (name "qxlsx")
+    (version "1.4.4")
+    (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
+               "1h11pviill9m749408xygkvkxik002va27n1d6zyg7bbjiwbnlfk"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:tests? #f ; No rule for tests
+           #:configure-flags
+           #~(list "-G" "Unix Makefiles" "../source/QXlsx")))
+    (inputs
+     (list qtbase libxkbcommon))
+    (home-page "https://qtexcel.github.io/QXlsx/";)
+    (synopsis "Excel file reader/writer library using Qt")
+    (description "This is a libary for reading and writing Excel files
+(.xlsx) using either Qt 5 or 6.")
+    (license license:expat)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar
-- 

2.38.0

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]