Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
leech # Leech
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
leech # Leech
];
}
Package Definition
{
"pname": "leech",
"version": "3.2.1",
"src": {
"url": "https://manytricks.com/download/_do_not_hotlink_/leech321.dmg",
"sha256": "91616cf08e302e2c5226f15dede92e2f308aac57a575ef9fbe719ed49a883e99"
},
"installPhase": [
"mkdir -p \"$out/Applications/Leech.app\" && cp -r \"Leech.app\" \"$out/Applications\""
],
"meta": {
"description": "Lightweight download manager",
"homepage": "https://manytricks.com/leech/"
}
}