Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
pot # Pot
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
pot # Pot
];
} Package Definition
{
"pname": "pot",
"version": "3.0.7",
"src": {
"url": "https://github.com/pot-app/pot-desktop/releases/download/3.0.7/pot_3.0.7_aarch64.dmg",
"sha256": "b3561a92ab5bf338291c25b42bf2eb30bf4b013be379d78ffb275edbb899b0a9"
},
"installPhase": [
"mkdir -p \"$out/Applications/pot.app\" && cp -r \"pot.app\" \"$out/Applications\"",
"mkdir -p \"$out/bin\" && ln -s \"$out/Applications/pot.app/Contents/MacOS/pot\" \"$out/bin/pot\""
],
"meta": {
"description": "Software for text translation and recognition",
"homepage": "https://pot-app.com/"
}
}