2021-08-14 09:20:03 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
}:
|
2010-07-28 11:55:54 +00:00
|
|
|
|
2021-08-14 09:20:03 +00:00
|
|
|
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";
|
2015-08-24 22:27:06 +00:00
|
|
|
|
2021-08-14 09:20:03 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/zd1211/${pname}-${version}.tar.bz2";
|
|
|
|
hash = "sha256-8R04ENf3KDOZf2NFhKWG3M7XGjU/llq/gQYuxDHQKxI=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
2016-05-04 10:08:35 +00:00
|
|
|
mkdir -p $out/lib/firmware/zd1211
|
2021-08-14 09:20:03 +00:00
|
|
|
cp * $out/lib/firmware/zd1211
|
2015-08-24 22:27:06 +00:00
|
|
|
|
2021-08-14 09:20:03 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2018-08-07 14:04:04 +00:00
|
|
|
|
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 01:11:51 +00: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 11:55:54 +00:00
|
|
|
}
|