Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
textsniper # TextSniper
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
textsniper # TextSniper
];
}
Package Definition
{
"pname": "textsniper",
"version": "1.12.1",
"src": {
"url": "https://s3.amazonaws.com/textsniper.app/Gumroad/TextSniper1.12.1.dmg",
"sha256": "1169237a1fd8bb1055c9e6bc62a098d2e6f5ee218dfcca963e2eb99e34ef48fe"
},
"installPhase": [
"mkdir -p \"$out/Applications/TextSniper.app\" && cp -r \"TextSniper.app\" \"$out/Applications\""
],
"meta": {
"description": "Extract text from images and other digital documents",
"homepage": "https://textsniper.app/"
}
}