From aeb70ebafff04e92bd61521088ee03aa42db2877 Mon Sep 17 00:00:00 2001 From: Yelninei Date: Tue, 20 May 2025 18:55:24 +0000 Subject: [PATCH] gnu: Add libirqhelp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/hurd.scm (libirqhelp): New variable. Change-Id: Ida9fec5c998ee33366bd33df09f60ac9d0b14489 Signed-off-by: Ludovic Courtès Modified-by: Ludovic Courtès --- gnu/packages/hurd.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index 54a424bd73f9b243491f53f9b82a1e3ff3f2349c..b019a4b144742a077e57da12045d1c412a4e1424 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2020 Ricardo Wurmus ;;; Copyright © 2020 Rene Saavedra ;;; Copyright © 2023 Josselin Poiret +;;; Copyright © 2025 Yelninei ;;; ;;; This file is part of GNU Guix. ;;; @@ -216,6 +217,25 @@ libiohelp, libfshelp, libtrivfs, and libmachdev, needed to build the GNU C Library, Parted and netdde for GNU/Hurd.") (license gpl2+))) +(define-public libirqhelp + (package (inherit hurd-headers) + (name "libirqhelp") + (arguments + (substitute-keyword-arguments (package-arguments hurd-headers) + ((#:make-flags flags '()) + #~'(#$(string-append "lib-subdirs=libirqhelp") + "prog-subdirs=" + "other-subdirs=" + #$@flags)) + ((#:phases _) + #~%standard-phases))) + (supported-systems %hurd-systems) + (synopsis "Hurd helper library for userspace IRQ handling") + (description + "This package provides libirqhelp, a GNU Hurd helper library to handle +@acronym{IRQs, interrupt requests} in user space.") + (license gpl2+))) + (define-public hurd-core-headers (package (name "hurd-core-headers")