2012-07-25 20:31:21 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2010-10-14 14:12:27 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ipw2100-fw-1.3";
|
2012-07-25 20:31:21 +02:00
|
|
|
|
2010-10-14 14:12:27 +02:00
|
|
|
src = fetchurl {
|
2012-03-19 18:40:23 +01:00
|
|
|
url = http://pkgs.fedoraproject.org/repo/pkgs/ipw2100-firmware/ipw2100-fw-1.3.tgz/46aa75bcda1a00efa841f9707bbbd113/ipw2100-fw-1.3.tgz;
|
2010-10-14 14:12:27 +02:00
|
|
|
sha256 = "18m7wgd062qwfdr6y0kjrvf1715wjcjn4yml2sk29ls8br2pq471";
|
|
|
|
};
|
|
|
|
|
|
|
|
unpackPhase = "tar xvzf $src";
|
|
|
|
|
|
|
|
# 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."
|
2012-07-25 20:31:21 +02:00
|
|
|
installPhase = "mkdir -p $out; cp ipw* LICENSE $out";
|
2010-10-14 14:12:27 +02:00
|
|
|
|
|
|
|
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 2100BG wireless card (requires acceptance of license, see http://ipw2100.sourceforge.net/firmware.php?fid=2)";
|
|
|
|
homepage = http://ipw2100.sourceforge.net/firmware.php;
|
|
|
|
license = http://ipw2100.sourceforge.net/firmware.php?fid=2;
|
|
|
|
};
|
|
|
|
}
|