* 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 ;;; Copyright © 2022 Foo Chuan Wei ;;; Copyright © 2022 Zhu Zihao +;;; Copyright © 2022 Cairn ;;; ;;; 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