Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
electorrent # Electorrent
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
electorrent # Electorrent
];
} Package Definition
{
"pname": "electorrent",
"version": "2.9.0",
"src": {
"url": "https://github.com/tympanix/Electorrent/releases/download/v2.9.0/Electorrent-2.9.0-universal.dmg",
"sha256": "9c11fddd4f66f61b8d17cf6138061930f600e7641d9ffe93ed77331abeef57a8"
},
"installPhase": [
"mkdir -p \"$out/Applications/Electorrent.app\" && cp -r \"Electorrent.app\" \"$out/Applications\""
],
"meta": {
"description": "Desktop remote torrenting application",
"homepage": "https://github.com/tympanix/Electorrent"
}
}