2018-08-07 16:04:04 +02:00
|
|
|
{ stdenv, fetchzip }:
|
2010-07-28 13:55:54 +02:00
|
|
|
|
2018-08-07 16:04:04 +02:00
|
|
|
let
|
2008-02-20 09:53:42 +01:00
|
|
|
pname = "zd1211-firmware";
|
2015-01-29 12:43:07 +01:00
|
|
|
version = "1.5";
|
2018-08-07 16:04:04 +02:00
|
|
|
in fetchzip rec {
|
2008-02-20 09:53:42 +01:00
|
|
|
name = "${pname}-${version}";
|
2018-08-07 16:04:04 +02:00
|
|
|
url = "mirror://sourceforge/zd1211/${name}.tar.bz2";
|
2015-08-25 00:27:06 +02:00
|
|
|
|
2018-08-07 16:04:04 +02:00
|
|
|
postFetch = ''
|
|
|
|
tar -xjvf $downloadedFile
|
2016-05-04 12:08:35 +02:00
|
|
|
mkdir -p $out/lib/firmware/zd1211
|
2018-08-07 16:04:04 +02:00
|
|
|
cp zd1211-firmware/* $out/lib/firmware/zd1211
|
2016-05-04 12:08:35 +02:00
|
|
|
'';
|
2015-08-25 00:27:06 +02:00
|
|
|
|
2018-08-07 16:04:04 +02:00
|
|
|
sha256 = "0sj2zl3r0549mjz37xy6iilm1hm7ak5ax02gwrn81r5yvphqzd52";
|
|
|
|
|
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
|
|
|
}
|