Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
picmal # Picmal
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
picmal # Picmal
];
} Package Definition
{
"pname": "picmal",
"version": "1.9.0",
"src": {
"url": "https://picmal.app/downloads/Picmal-1.9.0.dmg",
"sha256": "ce0e76b75c514b50cd5e9578a8b9726d9ae55aa117553aaf329174a3b0a878a5"
},
"installPhase": [
"mkdir -p \"$out/Applications/Picmal.app\" && cp -r \"Picmal.app\" \"$out/Applications\""
],
"meta": {
"description": "Converts and compresses images, video, audio and PDFs locally",
"homepage": "https://picmal.app/"
}
}