guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add rfkill.


From: Mark H. Weaver
Subject: 01/01: gnu: Add rfkill.
Date: Thu, 13 Aug 2015 02:14:22 +0000

mhw pushed a commit to branch master
in repository guix.

commit c755c85467456a348ec3a5c52945d9af61039350
Author: Mark H Weaver <address@hidden>
Date:   Wed Aug 12 10:36:50 2015 -0400

    gnu: Add rfkill.
    
    * gnu/packages/linux.scm (rfkill): New variable.
---
 gnu/packages/linux.scm |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1f258b1..23562b9 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]