gnu: Add libirqhelp.

* gnu/packages/hurd.scm (libirqhelp): New variable.

Change-Id: Ida9fec5c998ee33366bd33df09f60ac9d0b14489
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Yelninei 2025-05-20 18:55:24 +00:00 committed by Andreas Enge
parent 83e7107401
commit aeb70ebaff
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -7,6 +7,7 @@
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Rene Saavedra <pacoon@protonmail.com>
;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
;;; Copyright © 2025 Yelninei <yelninei@tutamail.com>
;;;
;;; 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")