Merge pull request #12992 from lukasepple/master
intel2200BGFirmware: init at 3.1
This commit is contained in:
commit
a13f9a708b
@ -185,6 +185,7 @@
|
|||||||
lowfatcomputing = "Andreas Wagner <andreas.wagner@lowfatcomputing.org>";
|
lowfatcomputing = "Andreas Wagner <andreas.wagner@lowfatcomputing.org>";
|
||||||
lsix = "Lancelot SIX <lsix@lancelotsix.com>";
|
lsix = "Lancelot SIX <lsix@lancelotsix.com>";
|
||||||
ludo = "Ludovic Courtès <ludo@gnu.org>";
|
ludo = "Ludovic Courtès <ludo@gnu.org>";
|
||||||
|
lukasepple = "Lukas Epple <post@lukasepple.de>";
|
||||||
lukego = "Luke Gorrie <luke@snabb.co>";
|
lukego = "Luke Gorrie <luke@snabb.co>";
|
||||||
luispedro = "Luis Pedro Coelho <luis@luispedro.org>";
|
luispedro = "Luis Pedro Coelho <luis@luispedro.org>";
|
||||||
lw = "Sergey Sofeychuk <lw@fmap.me>";
|
lw = "Sergey Sofeychuk <lw@fmap.me>";
|
||||||
|
@ -22,7 +22,7 @@ with lib;
|
|||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf config.hardware.enableAllFirmware {
|
config = mkIf config.hardware.enableAllFirmware {
|
||||||
hardware.firmware = [ pkgs.firmwareLinuxNonfree ];
|
hardware.firmware = [ pkgs.firmwareLinuxNonfree pkgs.intel2200BGFirmware ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.networking.enableIntel2200BGFirmware {
|
config = lib.mkIf config.networking.enableIntel2200BGFirmware {
|
||||||
|
|
||||||
hardware.enableAllFirmware = true;
|
hardware.firmware = [ pkgs.intel2200BGFirmware ];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
let version = "3.1"; in
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "intel2200BGFirmware-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://pkgs.fedoraproject.org/repo/pkgs/ipw2200-firmware/ipw2200-fw-${version}.tgz/eaba788643c7cc7483dd67ace70f6e99/ipw2200-fw-${version}.tgz";
|
||||||
|
sha256 = "c6818c11c18cc030d55ff83f64b2bad8feef485e7742f84f94a61d811a6258bd";
|
||||||
|
};
|
||||||
|
|
||||||
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/lib/firmware
|
||||||
|
for fw in \
|
||||||
|
ipw2200-bss.fw \
|
||||||
|
ipw2200-ibss.fw \
|
||||||
|
ipw2200-sniffer.fw
|
||||||
|
do
|
||||||
|
cp -f $fw $out/lib/firmware/$fw
|
||||||
|
done
|
||||||
|
mkdir -p $out/share/doc/intel2200BGFirmware
|
||||||
|
cp -f LICENSE.ipw2200-fw $out/share/doc/intel2200BGFirmware/LICENSE
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Firmware for Intel 2200BG cards";
|
||||||
|
homepage = http://ipw2200.sourceforge.net/firmware.php;
|
||||||
|
license = stdenv.lib.licenses.unfreeRedistributableFirmware;
|
||||||
|
maintainers = with maintainers; [ lukasepple ];
|
||||||
|
};
|
||||||
|
}
|
@ -10087,6 +10087,8 @@ let
|
|||||||
|
|
||||||
ima-evm-utils = callPackage ../os-specific/linux/ima-evm-utils { };
|
ima-evm-utils = callPackage ../os-specific/linux/ima-evm-utils { };
|
||||||
|
|
||||||
|
intel2200BGFirmware = callPackage ../os-specific/linux/firmware/intel2200BGFirmware { };
|
||||||
|
|
||||||
iomelt = callPackage ../os-specific/linux/iomelt { };
|
iomelt = callPackage ../os-specific/linux/iomelt { };
|
||||||
|
|
||||||
iotop = callPackage ../os-specific/linux/iotop { };
|
iotop = callPackage ../os-specific/linux/iotop { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user