Subject: [bug#58868] [PATCH 1/4] python-gaphas: New package

From: Jacob Hrbek <[email-masked]>
Date: Sat, 29 Oct 2022 17:08:39 +0000

---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8343f9e907..fcfea2d99c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30854,6 +30854,27 @@ (define-public python-langcodes
 install @code{python-language-data}.")
     (license license:expat)))

+(define-public python-gaphas
+  (package
+    (name "python-gaphas")
+    (version "3.8.2")
+    (synopsis "Gaphas is a GTK+ based diagramming widget")
+    (description "Gaphas is a GTK+ based diagramming widget")
+    (home-page "https://gaphas.readthedocs.io")
+    (license license:asl2.0)
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "gaphas" version))
+              (sha256
+               (base32
+                "0ikaz455g8cfr7h66xlksim8kala3h0g36ij5zcz76vhyd3f1baa"))))
+    (build-system python-build-system)
+    (inputs (list python-pycairo ;pycairo<2.0.0,>=1.20.0
+                  python-pygobject)) ;PyGObject<4.0.0,>=3.38.0
+    (arguments
+     ;; FIXME: python-build-system needs update for the check to work: 'Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox'
+     `(#:tests? #f))))
+
 (define-public python-geomet
   (package
     (name "python-geomet")
--
2.37.3