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": "1.0.7",
"src": {
"url": "https://github.com/kyleduo/TinyPNG4Mac/releases/download/v1.0.7/TinyPNG4Mac_1_0_7.zip",
"sha256": "4298642b0df6a310ce5131e4534deb826e4eef98fa8d2baf516624f3a15f4c23"
},
"installPhase": [
"mkdir -p \"$out/Applications\" && cp -r \"TinyPNG4Mac.app\" \"$out/Applications/TinyPNG4Mac.app\""
],
"meta": {
"description": "TinyPNG client",
"homepage": "https://github.com/kyleduo/TinyPNG4Mac"
}
}