diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-07-01 15:57:43 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-07-01 15:57:43 +0200 |
| commit | 76c084f5c74d7c38e741eba1633c9f331da7a6db (patch) | |
| tree | 32d6fb0683a50aa04406b6ff7bfce68cca5ab090 /gnu/packages | |
| parent | c919d124c1f197fd42c7ff5eef055d4ebcc70602 (diff) | |
Revert "gnu: Remove rfkill."
See guix/guix#9644.
This reverts commit aa5c040d22a53e1787eddd992d098f6e45b4638f.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/linux.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index d5a7f560ba4..fee7837a04b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm | |||
| @@ -6753,6 +6753,35 @@ for NVM-Express drives. It was made specifically for Linux as it relies on the | |||
| 6753 | IOCTLs defined by the mainline kernel driver.") | 6753 | IOCTLs defined by the mainline kernel driver.") |
| 6754 | (license license:gpl2+))) | 6754 | (license license:gpl2+))) |
| 6755 | 6755 | ||
| 6756 | (define-public rfkill | ||
| 6757 | (package | ||
| 6758 | (name "rfkill") | ||
| 6759 | (version "0.5") | ||
| 6760 | (source (origin | ||
| 6761 | (method url-fetch) | ||
| 6762 | (uri (string-append "mirror://kernel.org/software/network/" | ||
| 6763 | name "/" name "-" version ".tar.xz")) | ||
| 6764 | (sha256 | ||
| 6765 | (base32 | ||
| 6766 | "0snqj5h0y991lszbigbyyqb8swj0hxajc1vfqg2scfay44231bp0")))) | ||
| 6767 | (build-system gnu-build-system) | ||
| 6768 | (arguments | ||
| 6769 | `(#:make-flags (list "CC=gcc" | ||
| 6770 | (string-append "PREFIX=" %output)) | ||
| 6771 | #:phases (modify-phases %standard-phases | ||
| 6772 | (delete 'configure)) | ||
| 6773 | #:tests? #f)) | ||
| 6774 | (home-page "https://wireless.wiki.kernel.org/en/users/Documentation/rfkill") | ||
| 6775 | (synopsis "Tool for enabling and disabling wireless devices") | ||
| 6776 | (description | ||
| 6777 | "rfkill is a simple tool for accessing the rfkill device interface, | ||
| 6778 | which is used to enable and disable wireless networking devices, typically | ||
| 6779 | WLAN, Bluetooth and mobile broadband.") | ||
| 6780 | (license (license:non-copyleft "file://COPYING" | ||
| 6781 | "See COPYING in the distribution.")) | ||
| 6782 | ;; rfkill is part of util-linux as of 2.31. | ||
| 6783 | (properties `((superseded . ,util-linux))))) | ||
| 6784 | |||
| 6756 | (define-public acpi | 6785 | (define-public acpi |
| 6757 | (package | 6786 | (package |
| 6758 | (name "acpi") | 6787 | (name "acpi") |
| @@ -9309,6 +9338,7 @@ interface in sysfs, which can be accomplished with the included udev rules.") | |||
| 9309 | ("kmod" ,kmod) | 9338 | ("kmod" ,kmod) |
| 9310 | ("pciutils" ,pciutils) | 9339 | ("pciutils" ,pciutils) |
| 9311 | ("perl" ,perl) | 9340 | ("perl" ,perl) |
| 9341 | ("rfkill" ,rfkill) | ||
| 9312 | ("sed" ,sed) | 9342 | ("sed" ,sed) |
| 9313 | ("usbutils" ,usbutils) | 9343 | ("usbutils" ,usbutils) |
| 9314 | ("util-linux" ,util-linux) | 9344 | ("util-linux" ,util-linux) |
