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