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