Subject: [bug#58481] [PATCH 2/9] gnu: Add qtcharts, version 6.3.1.

From: Cairn <[email-masked]>
Date: Thu, 13 Oct 2022 05:37:48 +0000

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

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 1efac2fb50..e213657249 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2031,6 +2031,28 @@ (define-public qtcharts-5
 selecting one of the charts themes.")
     (license license:gpl3)))

+(define-public qtcharts
+  (package (inherit qtsvg)
+    (name "qtcharts")
+    (version "6.3.1")
+    (source (origin
+             (method url-fetch)
+             (uri (qt-urls name version))
+             (sha256
+              (base32
+               "1xvwsabyfln3sih9764xknl2s3w4w069k210kgbh94bj50iwqc7k"))))
+    (arguments
+     (list #:tests? #f)) ; TODO: Enable tests (two fail)
+    (inputs
+     (list qtbase qtdeclarative))
+    (synopsis "Qt Charts module")
+    (description "The Qt Charts module provides a set of easy to use chart
+components.  It uses the Qt Graphics View Framework, therefore charts can be
+easily integrated to modern user interfaces.  Qt Charts can be used as QWidgets,
+QGraphicsWidget, or QML types.  Users can easily create impressive graphs by
+selecting one of the charts themes.")
+    (license license:gpl3)))
+
 (define-public qtdatavis3d
   (package (inherit qtsvg-5)
     (name "qtdatavis3d")
-- 

2.38.0