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
|
|
|
|
2008-02-20 09:53:42 +01:00
|
|
|
buildPhase = "true";
|
|
|
|
|
2015-08-25 00:27:06 +02:00
|
|
|
installPhase = "mkdir -p $out/lib/firmware/zd1211; cp * $out/lib/firmware/zd1211";
|
|
|
|
|
2008-02-20 09:53:42 +01:00
|
|
|
meta = {
|
|
|
|
description = "Firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip";
|
|
|
|
homepage = http://sourceforge.net/projects/zd1211/;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
2010-07-28 13:55:54 +02:00
|
|
|
}
|