nongnu: Add rtlwifi-firmware.
* nongnu/packages/linux.scm (rtlwifi-firmware): New variable.
This commit is contained in:
parent
15bd73dfdc
commit
3b7ed9c5ee
|
@ -354,3 +354,43 @@ chipsets from Broadcom:
|
||||||
"https://raw.githubusercontent.com/winterheart/broadcom-bt-firmware"
|
"https://raw.githubusercontent.com/winterheart/broadcom-bt-firmware"
|
||||||
"/b60fa04881bf8f9b9d578f57d1dfa596cae2a82e"
|
"/b60fa04881bf8f9b9d578f57d1dfa596cae2a82e"
|
||||||
"/LICENSE.broadcom_bcm20702")))))
|
"/LICENSE.broadcom_bcm20702")))))
|
||||||
|
|
||||||
|
|
||||||
|
(define-public rtlwifi-firmware
|
||||||
|
(package
|
||||||
|
(inherit linux-firmware)
|
||||||
|
(name "rtlwifi-firmware")
|
||||||
|
(build-system trivial-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:modules ((guix build utils))
|
||||||
|
#:builder
|
||||||
|
(begin
|
||||||
|
(use-modules (guix build utils))
|
||||||
|
(let* ((source (assoc-ref %build-inputs "source"))
|
||||||
|
(fw-dir (string-append %output "/lib/firmware/"))
|
||||||
|
(bin-dir (string-append fw-dir "/rtlwifi")))
|
||||||
|
(mkdir-p bin-dir)
|
||||||
|
(copy-recursively (string-append source "/rtlwifi") bin-dir)
|
||||||
|
(install-file (string-append source "/LICENSE.rtlwifi_firmware.txt") fw-dir)
|
||||||
|
#t))))
|
||||||
|
(home-page "https://wireless.wiki.kernel.org/en/users/drivers/rtl819x")
|
||||||
|
(synopsis "Non-free firmware for Realtek wifi chips")
|
||||||
|
(description "Non-free firmware for Realtek wifi chips. This package contains non-free firmware for the following chips:
|
||||||
|
@itemize
|
||||||
|
@item rtl8192ce
|
||||||
|
@item rtl8192cu
|
||||||
|
@item rtl8192se
|
||||||
|
@item rtl8192de
|
||||||
|
@item rtl8188ee
|
||||||
|
@item rtl8192ee
|
||||||
|
@item rtl8723ae
|
||||||
|
@item rtl8723be
|
||||||
|
@item rtl8821ae
|
||||||
|
@item rtl8822be
|
||||||
|
@item rtl8723de
|
||||||
|
@end itemize")
|
||||||
|
(license
|
||||||
|
(nonfree
|
||||||
|
(string-append
|
||||||
|
"https://git.kernel.org/?p=linux/kernel/git/firmware"
|
||||||
|
"/linux-firmware.git;a=blob_plain;f=LICENCE.rtlwifi_firmware.txt;hb=HEAD")))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user