Subject: [bug#75567] [PATCH 1/2] gnu: Add i3ipc-glib

From: Tomáš Čech <[email-masked]>
Date: Tue, 14 Jan 2025 23:04:43 +0100

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

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 941ef45730..f66f72e54c 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -78,6 +78,7 @@
 ;;; Copyright © 2024 Ashish SHUKLA <[email-masked]>
 ;;; Copyright © 2024 Josep Bigorra <[email-masked]>
 ;;; Copyright © 2024 Jakob Kirsch <[email-masked]>
+;;; Copyright © 2025 Tomáš Čech <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -570,6 +571,40 @@ (define-public i3-wm
 (define-public i3-gaps
   (deprecated-package "i3-gaps" i3-wm))
 
+(define-public i3ipc-glib
+  (package
+    (name "i3ipc-glib")
+    (version "1.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri
+               (git-reference
+                (url "https://github.com/altdesktop/i3ipc-glib")
+                (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "01fzvrbnzcwx0vxw29igfpza9zwzp2s7msmzb92v01z0rz0y5m0p"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list
+       autoconf
+       automake
+       glib
+       `(,glib "bin")
+       gobject-introspection
+       gtk-doc
+       json-glib
+       libtool
+       libxcb
+       pkg-config
+       which))
+    (home-page "https://github.com/altdesktop/i3ipc-glib")
+    (synopsis "C interface library to i3 window manager")
+    (description "An inter-process communication library to i3 window manager written in C.")
+    (license license:gpl3)))
+
+
 (define-public i3lock
   (package
     (name "i3lock")
-- 
2.47.1