aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-07-17 12:14:26 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-17 15:35:57 +0200
commitc80b4a3e831edaa7273dbeaf623a0f47cb0079af (patch)
tree9c2a5d0ec020d59f069801fa15acfd2899187db2 /gnu/packages/linux.scm
parent0eed5501b8f04710f871ca8b05d1566f455de6fd (diff)
downloadguix-c80b4a3e831edaa7273dbeaf623a0f47cb0079af.tar
guix-c80b4a3e831edaa7273dbeaf623a0f47cb0079af.tar.gz
gnu: Add wireless-regdb.
* gnu/packages/linux.scm (wireless-regdb): New variable.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5763439ba3..59909e91e1 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1704,6 +1704,44 @@ interface.")
(home-page "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html")
(license gpl2+)))
+(define-public wireless-regdb
+ (package
+ (name "wireless-regdb")
+ (version "2015.04.06")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kernel.org/software/network/wireless-regdb/"
+ "wireless-regdb-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0czi83k311fp27z42hxjm8vi88fsbc23mhavv96lkb4pmari0jjc"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (delete 'configure))
+ #:tests? #f ;no tests
+ #:make-flags (let ((out (assoc-ref %outputs "out")))
+ (list (string-append "PREFIX=" out)
+ (string-append "LSB_ID=GuixSD")
+ (string-append "DISTRO_PUBKEY=/dev/null")
+ (string-append "DISTRO_PRIVKEY=/dev/null")
+ (string-append "REGDB_PUBKEY=/dev/null")
+
+ ;; Leave that empty so that db2bin.py doesn't try
+ ;; to sign 'regulatory.bin'. This allows us to
+ ;; avoid managing a key pair for the whole distro.
+ (string-append "REGDB_PRIVKEY=")))))
+ (native-inputs `(("python" ,python-2)))
+ (home-page
+ "https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb")
+ (synopsis "Wireless regulatory database")
+ (description
+ "This package contains the wireless regulatory database Central
+Regulatory Database Agent (CRDA) daemon. The database contains information on
+country-specific regulations for the wireless spectrum.")
+ (license isc)))
+
(define-public lm-sensors
(package
(name "lm-sensors")