Adding the firmware for the rt73 usb wifi nic.
svn path=/nixpkgs/trunk/; revision=17263
This commit is contained in:
parent
dbaa2bdf70
commit
72d6ffb8cf
26
pkgs/os-specific/linux/firmware/rt73/default.nix
Normal file
26
pkgs/os-specific/linux/firmware/rt73/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{stdenv, fetchurl, unzip}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "rt73-fw-1.8";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.ralinktech.com/download.php?t=U0wyRnpjMlYwY3k4eU1EQTVMekF6THpNeEwyUnZkMjVzYjJGa056YzVPVE13TmpZMk9TNTZhWEE5UFQxU1ZEY3hWMTlHYVhKdGQyRnlaVjlXTVM0NEM%3D";
|
||||||
|
name = "rt73-fw-1.8.zip";
|
||||||
|
sha256 = "1gskm6wqp8nnz3qk44rmab6h81pkarzzphqvag4y05a8mwdarlz2";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ unzip ];
|
||||||
|
|
||||||
|
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 = {
|
||||||
|
description = "Firmware for the Ralink RT73 wireless card";
|
||||||
|
homepage = http://www.ralinktech.com/;
|
||||||
|
license = "non-free";
|
||||||
|
};
|
||||||
|
}
|
@ -5713,6 +5713,10 @@ let
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rt73fw = import ../os-specific/linux/firmware/rt73 {
|
||||||
|
inherit fetchurl stdenv unzip;
|
||||||
|
};
|
||||||
|
|
||||||
sdparm = import ../os-specific/linux/sdparm {
|
sdparm = import ../os-specific/linux/sdparm {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user