Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
ppduck # PPDuck
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
ppduck # PPDuck
];
}
Package Definition
{
"pname": "ppduck",
"version": "3.10.20",
"src": {
"url": "https://ppduck.com/static/downloads/PPDuck3_3.10.20.dmg",
"sha256": "6a433d9ed5e742229deb5ce222815a568041177244eedf591f537111388d1bba"
},
"installPhase": [
"mkdir -p \"$out/Applications/PPDuck3.app\" && cp -r \"PPDuck3.app\" \"$out/Applications\""
],
"meta": {
"description": "Integrates several image compression algorithms",
"homepage": "https://ppduck.com/"
}
}