From 66b506a3733d8a019d1c8512f205d60ffc8f23d6 Mon Sep 17 00:00:00 2001 From: Alec Barreto Date: Tue, 17 Sep 2024 00:54:25 +0000 Subject: [PATCH] gnu: Add guile-swayer. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/guile-xyz.scm (guile-swayer): New variable. Change-Id: Ibd3817842e36fa35a3f1ecc09288549c10fd0d12 Signed-off-by: Ludovic Courtès --- gnu/packages/guile-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 792b1c6fa8..95ff4825cc 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -50,6 +50,7 @@ ;;; Copyright © 2024 Ilya Chernyshov ;;; Copyright © 2024 Artyom Bologov ;;; Copyright © 2024 Felix Lechner +;;; Copyright © 2024 Alec Barreto ;;; ;;; This file is part of GNU Guix. ;;; @@ -1027,6 +1028,30 @@ that augment Guile's support for handling files and their names.") (name "guile2.2-filesystem") (inputs (list guile-2.2)))) +(define-public guile-swayer + (package + (name "guile-swayer") + (version "0.3.0") + (home-page "https://github.com/ebeem/guile-swayer") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ebeem/guile-swayer") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (snippet '(delete-file "manifest.scm")) + (sha256 + (base32 "16npa337rp0s9rg4fc749b1nq6kfxj77pdd1qfh9xdrb1n0w7awi")))) + (native-inputs (list guile-3.0)) + (build-system guile-build-system) + (synopsis "Extensible Guile bindings for SwayWM") + (description + "This package provides extensible Guile bindings for the Sway window +manager. It can be used to query Sway, assign keybindings and listen to +events in Guile.") + (license license:expat))) + (define-public guile-syntax-highlight (package (name "guile-syntax-highlight")