~ruther/guix-local

0a50d94a933a4df4292f6fbd3aa8109e0ec7c252 — Arjan Adriaanse 6 months ago 10c5179
gnu: Add reform2-lpc-module.

* gnu/packages/linux.scm (reform2-lpc-module): New variable.

Change-Id: I02d97a43293a90f4ce23964441f27d6693bd3fc7
1 files changed, 27 insertions(+), 0 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +27 -0
@@ 85,6 85,7 @@
;;; Copyright © 2025 Nigko Yerden <nigko.yerden@gmail.com>
;;; Copyright © 2025 Mathieu Laparie <mlaparie@disr.it>
;;; Copyright © 2025 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2025 Arjan Adriaanse <arjan@adriaan.se>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 2768,6 2769,32 @@ module allows the control of the backlight level or luminance property when
supported under @file{/sys/class/backlight/}.")
      (license license:gpl2+))))

(define-public reform2-lpc-module
  (package
    (name "reform2-lpc-module")
    (version "1.79")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://source.mnt.re/reform/reform-tools.git")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "16xzdygf14zksvqjbp5gwiqsn0mb7kphvzrmqbl9db4kvyj4ajqa"))))
    (build-system linux-module-build-system)
    (arguments
     '(#:tests? #f ;no tests
       #:source-directory "lpc"))
    (synopsis "Linux kernel module for the Reform 2 system controller")
    (description
     "The reform2_lpc module allows for interaction with the NXP LPC11U24
Cortex-M0 MCU system controller in the Reform 2 open hardware laptop.  It
provides battery status information and is necessary to completely shut down
the system when powering it off via userspace.")
    (home-page "https://source.mnt.re/reform/reform-tools/")
    (license license:gpl3+)))

(define-public v4l2loopback-linux-module
  (package
    (name "v4l2loopback-linux-module")