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.5",
"src": {
"url": "https://github.com/XiaoYouChR/Ghost-Downloader-3/releases/download/v4.4.5/Ghost-Downloader-v4.4.5-macOS-arm64.dmg",
"sha256": "e1850125ca304ea3508c62bfd2b0f35da2726f68a4c3c298c149fe72f745e55b"
},
"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/"
}
}