2023-12-04 16:04:24 +01:00
|
|
|
{
|
|
|
|
stdenv
|
|
|
|
, openwrt
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "zyxel-bootconfig";
|
|
|
|
inherit (openwrt) src;
|
|
|
|
sourceRoot = "openwrt-source/package/utils/zyxel-bootconfig/src";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
install -Dm644 zyxel-bootconfig $out/bin/zyxel-bootconfig
|
|
|
|
'';
|
2024-02-18 22:35:27 +01:00
|
|
|
meta = {
|
|
|
|
mainProgram = "zyxel-bootconfig";
|
|
|
|
};
|
2023-12-04 16:04:24 +01:00
|
|
|
}
|