Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
ghost-downloader # Ghost Downloader
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
ghost-downloader # Ghost Downloader
];
} Package Definition
{
"pname": "ghost-downloader",
"version": "4.4.3",
"src": {
"url": "https://github.com/XiaoYouChR/Ghost-Downloader-3/releases/download/v4.4.3/Ghost-Downloader-v4.4.3-macOS-arm64.dmg",
"sha256": "fd423cafb4c792ab7158d361e9d8b05ff59e749f4b317b8d28f042e64b56a21c"
},
"installPhase": [
"mkdir -p \"$out/Applications/Ghost Downloader.app\" && cp -r \"Ghost Downloader.app\" \"$out/Applications\""
],
"meta": {
"description": "Cross-platform multithreaded download manager",
"homepage": "https://gd.xychr.com/"
}
}