Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
macshot # macshot
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
macshot # macshot
];
} Package Definition
{
"pname": "macshot",
"version": "4.1.2",
"src": {
"url": "https://github.com/sw33tLie/macshot/releases/download/v4.1.2/MacShot.dmg",
"sha256": "e68f25e8cbc6b39f3348f29a4784506765205aca9c41169152c77c712eb65558"
},
"installPhase": [
"mkdir -p \"$out/Applications/macshot.app\" && cp -r \"macshot.app\" \"$out/Applications\""
],
"meta": {
"description": "Screenshot and screen recording tool",
"homepage": "https://github.com/sw33tLie/macshot"
}
}