Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
stashpad # Stashpad
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
stashpad # Stashpad
];
} Package Definition
{
"pname": "stashpad",
"version": "1.2.28",
"src": {
"url": "https://github.com/stashpad/sp-desktop-release/releases/download/v1.2.28/Stashpad-1.2.28-arm64.dmg",
"sha256": "38631d69db2316ca513a4f7331fa3e15248720ea252e596a81e91842791ddd8b"
},
"installPhase": [
"mkdir -p \"$out/Applications/Stashpad.app\" && cp -r \"Stashpad.app\" \"$out/Applications\""
],
"meta": {
"description": "Notes app for collaborative work",
"homepage": "https://www.stashpad.com/"
}
}