From c755c85467456a348ec3a5c52945d9af61039350 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 12 Aug 2015 10:36:50 -0400 Subject: gnu: Add rfkill. * gnu/packages/linux.scm (rfkill): New variable. --- gnu/packages/linux.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 1f258b1218..23562b96fd 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2084,6 +2084,33 @@ thanks to the use of namespaces.") is for enabling irq-unmasking and IDE multiple-mode.") (license (non-copyleft "file://LICENSE.TXT")))) +(define-public rfkill + (package + (name "rfkill") + (version "0.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kernel.org/software/network/" + name "/" name "-" version ".tar.xz")) + (sha256 + (base32 + "0snqj5h0y991lszbigbyyqb8swj0hxajc1vfqg2scfay44231bp0")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "CC=gcc" + (string-append "PREFIX=" %output)) + #:phases (modify-phases %standard-phases + (delete 'configure)) + #:tests? #f)) + (home-page "https://wireless.wiki.kernel.org/en/users/Documentation/rfkill") + (synopsis "Tool for enabling and disabling wireless devices") + (description + "rfkill is a simple tool for accessing the rfkill device interface, +which is used to enable and disable wireless networking devices, typically +WLAN, Bluetooth and mobile broadband.") + (license (non-copyleft "file://COPYING" + "See COPYING in the distribution.")))) + (define-public acpid (package (name "acpid") -- cgit v1.2.3