Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
shottr # Shottr
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
shottr # Shottr
];
} Package Definition
{
"pname": "shottr",
"version": "1.9.1",
"src": {
"url": "https://shottr.cc/dl/Shottr-1.9.1.dmg",
"sha256": "0bfd797dbcfec52a5e122b50062ad6b954847fe3b53d676c05ac4361f50ce5b3"
},
"installPhase": [
"mkdir -p \"$out/Applications/Shottr.app\" && cp -r \"Shottr.app\" \"$out/Applications\""
],
"meta": {
"description": "Screenshot measurement and annotation tool",
"homepage": "https://shottr.cc/"
}
}