2018-08-07 13:44:12 +00:00
|
|
|
{ lib, fetchzip }:
|
2016-02-14 15:34:30 +00:00
|
|
|
|
|
|
|
let version = "3.1"; in
|
|
|
|
|
2018-08-07 13:44:12 +00:00
|
|
|
fetchzip {
|
2016-02-14 15:34:30 +00:00
|
|
|
name = "intel2200BGFirmware-${version}";
|
2018-08-07 13:44:12 +00:00
|
|
|
url = "https://src.fedoraproject.org/repo/pkgs/ipw2200-firmware/ipw2200-fw-${version}.tgz/eaba788643c7cc7483dd67ace70f6e99/ipw2200-fw-${version}.tgz";
|
|
|
|
sha256 = "0zjyjndyc401pn5x5lgypxdal21n82ymi3vbb2ja1b89yszj432b";
|
2016-02-14 15:34:30 +00:00
|
|
|
|
2018-08-07 13:44:12 +00:00
|
|
|
postFetch = ''
|
|
|
|
tar -xzvf $downloadedFile --strip-components=1
|
|
|
|
install -D -m644 ipw2200-bss.fw $out/lib/firmware/ipw2200-bss.fw
|
|
|
|
install -D -m644 ipw2200-ibss.fw $out/lib/firmware/ipw2200-ibss.fw
|
|
|
|
install -D -m644 ipw2200-sniffer.fw $out/lib/firmware/ipw2200-sniffer.fw
|
|
|
|
install -D -m644 LICENSE.ipw2200-fw $out/share/doc/intel2200BGFirmware/LICENSE
|
2016-02-14 15:34:30 +00:00
|
|
|
'';
|
|
|
|
|
2018-08-07 13:44:12 +00:00
|
|
|
meta = with lib; {
|
2016-02-14 15:34:30 +00:00
|
|
|
description = "Firmware for Intel 2200BG cards";
|
|
|
|
homepage = http://ipw2200.sourceforge.net/firmware.php;
|
2018-08-07 13:44:12 +00:00
|
|
|
license = licenses.unfreeRedistributableFirmware;
|
2016-10-09 19:26:53 +00:00
|
|
|
maintainers = with maintainers; [ sternenseemann ];
|
2018-08-07 13:44:12 +00:00
|
|
|
platforms = platforms.linux;
|
2016-02-14 15:34:30 +00:00
|
|
|
};
|
|
|
|
}
|