diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2015-07-17 12:14:26 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2015-07-17 15:35:57 +0200 |
| commit | c80b4a3e831edaa7273dbeaf623a0f47cb0079af (patch) | |
| tree | 9c2a5d0ec020d59f069801fa15acfd2899187db2 /gnu | |
| parent | 0eed5501b8f04710f871ca8b05d1566f455de6fd (diff) | |
gnu: Add wireless-regdb.
* gnu/packages/linux.scm (wireless-regdb): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/linux.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 5763439ba39..59909e91e18 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm | |||
| @@ -1704,6 +1704,44 @@ interface.") | |||
| 1704 | (home-page "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html") | 1704 | (home-page "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html") |
| 1705 | (license gpl2+))) | 1705 | (license gpl2+))) |
| 1706 | 1706 | ||
| 1707 | (define-public wireless-regdb | ||
| 1708 | (package | ||
| 1709 | (name "wireless-regdb") | ||
| 1710 | (version "2015.04.06") | ||
| 1711 | (source (origin | ||
| 1712 | (method url-fetch) | ||
| 1713 | (uri (string-append | ||
| 1714 | "mirror://kernel.org/software/network/wireless-regdb/" | ||
| 1715 | "wireless-regdb-" version ".tar.xz")) | ||
| 1716 | (sha256 | ||
| 1717 | (base32 | ||
| 1718 | "0czi83k311fp27z42hxjm8vi88fsbc23mhavv96lkb4pmari0jjc")))) | ||
| 1719 | (build-system gnu-build-system) | ||
| 1720 | (arguments | ||
| 1721 | '(#:phases (modify-phases %standard-phases | ||
| 1722 | (delete 'configure)) | ||
| 1723 | #:tests? #f ;no tests | ||
| 1724 | #:make-flags (let ((out (assoc-ref %outputs "out"))) | ||
| 1725 | (list (string-append "PREFIX=" out) | ||
| 1726 | (string-append "LSB_ID=GuixSD") | ||
| 1727 | (string-append "DISTRO_PUBKEY=/dev/null") | ||
| 1728 | (string-append "DISTRO_PRIVKEY=/dev/null") | ||
| 1729 | (string-append "REGDB_PUBKEY=/dev/null") | ||
| 1730 | |||
| 1731 | ;; Leave that empty so that db2bin.py doesn't try | ||
| 1732 | ;; to sign 'regulatory.bin'. This allows us to | ||
| 1733 | ;; avoid managing a key pair for the whole distro. | ||
| 1734 | (string-append "REGDB_PRIVKEY="))))) | ||
| 1735 | (native-inputs `(("python" ,python-2))) | ||
| 1736 | (home-page | ||
| 1737 | "https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb") | ||
| 1738 | (synopsis "Wireless regulatory database") | ||
| 1739 | (description | ||
| 1740 | "This package contains the wireless regulatory database Central | ||
| 1741 | Regulatory Database Agent (CRDA) daemon. The database contains information on | ||
| 1742 | country-specific regulations for the wireless spectrum.") | ||
| 1743 | (license isc))) | ||
| 1744 | |||
| 1707 | (define-public lm-sensors | 1745 | (define-public lm-sensors |
| 1708 | (package | 1746 | (package |
| 1709 | (name "lm-sensors") | 1747 | (name "lm-sensors") |
