2022-08-21 13:32:41 +00:00
|
|
|
{ stdenvNoCC
|
2021-08-18 13:19:15 +00:00
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "zd1211-firmware";
|
|
|
|
version = "1.5";
|
|
|
|
|
2021-08-18 13:19:15 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/zd1211/${pname}-${version}.tar.bz2";
|
|
|
|
hash = "sha256-8R04ENf3KDOZf2NFhKWG3M7XGjU/llq/gQYuxDHQKxI=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
mkdir -p $out/lib/firmware/zd1211
|
2021-08-18 13:19:15 +00:00
|
|
|
cp * $out/lib/firmware/zd1211
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-18 13:19:15 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip";
|
|
|
|
homepage = "https://sourceforge.net/projects/zd1211/";
|
|
|
|
license = "GPL";
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|