From 3c530361e6875f0eb5496422a5c0a2f1ae21e3cb Mon Sep 17 00:00:00 2001 From: Jake Coble Date: Sun, 23 Nov 2025 14:45:14 -0500 Subject: [PATCH] gnu: Add hyprmag. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/wm.scm (hyprmag): New variable. Closes: guix/guix#4426 Change-Id: Icaa2595979b15508b1b5d8acc4d86afe868cdd63 Signed-off-by: 宋文武 --- gnu/packages/wm.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 9cbb5e43e85ba9bc4b0c69761b9d49ad85ae8f1a..bbfcb4e4dac644269d56c4798dc02a673e107ee4 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -452,6 +452,38 @@ its looks.") `((upstream-name . "source"))) (license license:bsd-3))) +(define-public hyprmag + (package + (name "hyprmag") + (version "2.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/SIMULATAN/hyprmag") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00rc5xmddcg5iwganhwr8nyi7falh6jg324ip2r2yidmkpnsqj60")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;no tests + #:configure-flags + #~(list (string-append "-DCMAKE_INSTALL_MANDIR=share/man")))) + (inputs (list cairo + ijg-libjpeg + libglvnd + pango + wayland + wayland-protocols + libxkbcommon)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/SIMULATAN/hyprmag") + (synopsis "Wayland screen magnifier") + (description "Hyprmag is a wlroots-compatible Wayland screen magnifier with basic + customization options.") + (license license:bsd-3))) + (define-public i3status (package (name "i3status")