Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
petrichor # Petrichor
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
petrichor # Petrichor
];
} Package Definition
{
"pname": "petrichor",
"version": "1.1.3",
"src": {
"url": "https://github.com/kushalpandya/Petrichor/releases/download/v1.1.3/Petrichor-1.1.3-Universal.dmg",
"sha256": "b682458748d77ff3a20d26f74e75fd29d3fde505a79e4e88ae961295735bc08d"
},
"installPhase": [
"mkdir -p \"$out/Applications/Petrichor.app\" && cp -r \"Petrichor.app\" \"$out/Applications\""
],
"meta": {
"description": "Offline Music Player",
"homepage": "https://github.com/kushalpandya/Petrichor"
}
}