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.2",
"src": {
"url": "https://github.com/kushalpandya/Petrichor/releases/download/v1.1.2/Petrichor-1.1.2-Universal.dmg",
"sha256": "ea447632ee9c9205521d1d4ae3469225ab63fe3ed6c814018f0de16e7aca1e40"
},
"installPhase": [
"mkdir -p \"$out/Applications/Petrichor.app\" && cp -r \"Petrichor.app\" \"$out/Applications\""
],
"meta": {
"description": "Offline Music Player",
"homepage": "https://github.com/kushalpandya/Petrichor"
}
}