Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
tinypng4mac # TinyPNG4Mac
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
tinypng4mac # TinyPNG4Mac
];
}
Package Definition
{
"pname": "tinypng4mac",
"version": "2.1.0",
"src": {
"url": "https://github.com/kyleduo/TinyPNG4Mac/releases/download/v2.1.0/Tiny-Image-Installer-20100.dmg",
"sha256": "8857dc6cbd6962d52eb2dd61696bcb13bfa397c6077c12def820bc9618c95857"
},
"installPhase": [
"mkdir -p \"$out/Applications/Tiny Image.app\" && cp -r \"Tiny Image.app\" \"$out/Applications\""
],
"meta": {
"description": "TinyPNG client",
"homepage": "https://github.com/kyleduo/TinyPNG4Mac"
}
}