Subject: [bug#53444] [PATCH 1/3] gnu: Add python-i3ipc

From: "(unmatched-parenthesis" <[email-masked]>
Date: Sat, 22 Jan 2022 11:47:22 +0000

* gnu/packages/wm.scm(python-i3ipc): New variable.
---
 gnu/packages/wm.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 67e113aaa2..975247bf07 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -49,6 +49,7 @@
 ;;; Copyright © 2021 jgart <[email-masked]>
 ;;; Copyright © 2021 Disseminate Dissent <[email-masked]>
 ;;; Copyright © 2022 John Kehayias <[email-masked]>
+;;; Copyright © 2022 (unmatched parenthesis <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -541,6 +542,25 @@ (define-public python-i3-py
 (define-public python2-i3-py
   (package-with-python2 python-i3-py))
 
+(define-public python-i3ipc
+  (package
+   (name "python-i3ipc")
+   (version "2.2.1")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri "i3ipc" version))
+     (sha256
+      (base32 "1s6crkdn7q8wmzl5d0pb6rdkhhbvp444yxilrgaylnbr2kbxg078"))))
+   (build-system python-build-system)
+   (arguments
+    ;; TODO: Fix tests
+    '(#:tests? #f))
+   (propagated-inputs (list python-xlib))
+   (home-page "https://github.com/altdesktop/i3ipc-python")
+   (synopsis "An improved Python library to control i3wm and sway")
+   (description "This package provides an improved Python library to control i3wm and sway.")
+   (license license:bsd-3)))
 (define-public qtile
   (package
     (name "qtile")
-- 
2.34.0