diff --git a/pkgs/os-specific/linux/firmware/ipw2200/default.nix b/pkgs/os-specific/linux/firmware/ipw2200/default.nix new file mode 100644 index 000000000000..e10a8b45c311 --- /dev/null +++ b/pkgs/os-specific/linux/firmware/ipw2200/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "ipw2200-fw-3.0"; + src = fetchurl { + url = http://bughost.org/firmware/ipw2200-fw-3.0.tgz; + sha256 = "1skmxmngrgz1402yq4vbfwmghh04mn1031jrn2cli0scdxz00zm7"; + }; + + buildPhase = "true"; + + # Installation copies the firmware AND the license. The license + # says: "Your rights to redistribute the Software shall be + # contingent upon your installation of this Agreement in its + # entirety in the same directory as the Software." + installPhase = "ensureDir $out; cp * $out"; + + meta = { + # "... you may transfer a copy of the Software ... provided such + # recipient agrees to be fully bound by the terms hereof." + description = "Firmware for the Intel 2200BG wireless card (requires acceptance of license, see http://ipw2200.sourceforge.net/firmware.php?fid=7"; + url = http://ipw2200.sourceforge.net/firmware.php; + license = http://ipw2200.sourceforge.net/firmware.php?fid=7; + # See also http://ipw2100.sourceforge.net/firmware_faq.php + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 80350d1f454d..89a70b6113e7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2165,6 +2165,10 @@ rec { inherit fetchurl stdenv; }; + ipw2200fw = import ../os-specific/linux/firmware/ipw2200 { + inherit fetchurl stdenv; + }; + kernelHeaders = import ../os-specific/linux/kernel-headers { inherit fetchurl stdenv; };