2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2008-02-20 08:53:42 +00:00
|
|
|
pname = "zd1211-firmware";
|
2015-01-29 11:43:07 +00:00
|
|
|
version = "1.5";
|
2008-02-20 08:53:42 +00:00
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
2015-08-24 23:27:06 +01:00
|
|
|
|
2008-02-20 08:53:42 +00:00
|
|
|
src = fetchurl {
|
2013-07-14 02:17:07 +01:00
|
|
|
url = "mirror://sourceforge/zd1211/${name}.tar.bz2";
|
2015-01-29 11:43:07 +00:00
|
|
|
sha256 = "04ibs0qw8bh6h6zmm5iz6lddgknwhsjq8ib3gyck6a7psw83h7gi";
|
2008-02-20 08:53:42 +00:00
|
|
|
};
|
2015-08-24 23:27:06 +01:00
|
|
|
|
2016-05-04 11:08:35 +01:00
|
|
|
dontBuild = true;
|
2008-02-20 08:53:42 +00:00
|
|
|
|
2016-05-04 11:08:35 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/lib/firmware/zd1211
|
|
|
|
cp * $out/lib/firmware/zd1211
|
|
|
|
'';
|
2015-08-24 23:27:06 +01:00
|
|
|
|
2008-02-20 08:53:42 +00:00
|
|
|
meta = {
|
|
|
|
description = "Firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip";
|
|
|
|
homepage = http://sourceforge.net/projects/zd1211/;
|
|
|
|
license = "GPL";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-02-20 08:53:42 +00:00
|
|
|
};
|
2010-07-28 12:55:54 +01:00
|
|
|
}
|