2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchzip }:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2018-08-07 15:04:04 +01:00
|
|
|
let
|
2008-02-20 08:53:42 +00:00
|
|
|
pname = "zd1211-firmware";
|
2015-01-29 11:43:07 +00:00
|
|
|
version = "1.5";
|
2018-08-07 15:04:04 +01:00
|
|
|
in fetchzip rec {
|
2008-02-20 08:53:42 +00:00
|
|
|
name = "${pname}-${version}";
|
2018-08-07 15:04:04 +01:00
|
|
|
url = "mirror://sourceforge/zd1211/${name}.tar.bz2";
|
2015-08-24 23:27:06 +01:00
|
|
|
|
2018-08-07 15:04:04 +01:00
|
|
|
postFetch = ''
|
|
|
|
tar -xjvf $downloadedFile
|
2016-05-04 11:08:35 +01:00
|
|
|
mkdir -p $out/lib/firmware/zd1211
|
2018-08-07 15:04:04 +01:00
|
|
|
cp zd1211-firmware/* $out/lib/firmware/zd1211
|
2016-05-04 11:08:35 +01:00
|
|
|
'';
|
2015-08-24 23:27:06 +01:00
|
|
|
|
2018-08-07 15:04:04 +01:00
|
|
|
sha256 = "0sj2zl3r0549mjz37xy6iilm1hm7ak5ax02gwrn81r5yvphqzd52";
|
|
|
|
|
2008-02-20 08:53:42 +00:00
|
|
|
meta = {
|
|
|
|
description = "Firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sourceforge.net/projects/zd1211/";
|
2008-02-20 08:53:42 +00:00
|
|
|
license = "GPL";
|
2021-01-15 14:45:37 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2008-02-20 08:53:42 +00:00
|
|
|
};
|
2010-07-28 12:55:54 +01:00
|
|
|
}
|