3
0
Fork 0
forked from mirrors/nixpkgs

Add firmware for rtl8192c and related NICs

svn path=/nixpkgs/trunk/; revision=27912
This commit is contained in:
Shea Levy 2011-07-23 22:58:32 +00:00
parent 14be409d8f
commit d9c22f38da
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "rtl8192c-fw";
src = fetchurl {
url = "ftp://WebUser:n8W9ErCy@208.70.202.219/cn/wlan/92ce_se_de_linux_mac80211_0003.0401.2011.tar.gz";
sha256 = "002kj6f1xaali2iwrxvirqq0hbiyb2cpf93y2xycp3qd69cp8lik";
};
phases = [ "unpackPhase" "installPhase" ];
# 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 -a firmware/* $out";
meta = {
description = "Firmware for the Realtek RTL8192c wireless cards";
homepage = "http://www.realtek.com";
license = "non-free";
};
}

View file

@ -5625,6 +5625,8 @@ let
rt73fw = callPackage ../os-specific/linux/firmware/rt73 { };
rtl8192cfw = callPackage ../os-specific/linux/firmware/rtl8192c { };
sdparm = callPackage ../os-specific/linux/sdparm { };
shadow = callPackage ../os-specific/linux/shadow { };