Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
yoda # Yoda
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
yoda # Yoda
];
} Package Definition
{
"pname": "yoda",
"version": "1.0.1",
"src": {
"url": "https://github.com/whoisandy/yoda/releases/download/v1.0.1/yoda-installer-1.0.1.dmg",
"sha256": "4bed8d0f1e4a1be684fc4faf91bfd828f0f8cb6f7a3e4b60d28f0c4b1a94fdef"
},
"installPhase": [
"mkdir -p \"$out/Applications/Yoda.app\" && cp -r \"Yoda.app\" \"$out/Applications\""
],
"meta": {
"description": "App to browse and download YouTube videos",
"homepage": "https://github.com/whoisandy/yoda"
}
}