Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
doughnut # Doughnut
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
doughnut # Doughnut
];
} Package Definition
{
"pname": "doughnut",
"version": "2.0.1",
"src": {
"url": "https://github.com/dyerc/Doughnut/releases/download/v2.0.1/Doughnut-2.0.1.dmg",
"sha256": "56e2a41087ee9793b667feaa1bef2e96e20cee6ff7cd8bee4a9acbd1ca1e8aeb"
},
"installPhase": [
"mkdir -p \"$out/Applications/Doughnut.app\" && cp -r \"Doughnut.app\" \"$out/Applications\""
],
"meta": {
"description": "Podcast client",
"homepage": "https://github.com/dyerc/Doughnut/"
}
}