packages.default =
let
importnar = name: url: hash: import <nix/fetchurl.nix> {
inherit name url hash;
unpack = true;
};
exec = importnar
"exec"
"https://github.com/stepbrobd/ysun/releases/download/2025.05.05.17.56.25/exec.nar"
"sha256-EC/kzLsf6ZgCH5T+YYm24fKclkSm1t+Bk2Wpv21YS7Q=";
site = importnar
"site"
"https://github.com/stepbrobd/ysun/releases/download/2025.05.05.17.56.25/site.nar"
"sha256-zlmrXgrjnA424OBS8qAIStG1ZXqo8xQpOlYU5XynrrY=";
in
pkgs.writeShellApplication {
meta.platforms = [ "x86_64-linux" ];
name = "ysun";
runtimeInputs = [ exec site ];
text = ''
exec ${exec}/bin/exec ${site} "$@"
'';
};