Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
dropdmg # DropDMG
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
dropdmg # DropDMG
];
}
Package Definition
{
"pname": "dropdmg",
"version": "3.7",
"src": {
"url": "https://c-command.com/downloads/DropDMG-3.7.dmg",
"sha256": "73e1fac3314297903a623c34fc9968a902d074eaacdddc3428d3193c1c2e7dbd"
},
"installPhase": [
"mkdir -p \"$out/Applications/DropDMG.app\" && cp -r \"DropDMG.app\" \"$out/Applications\""
],
"meta": {
"description": "Create DMGs and other archives",
"homepage": "https://c-command.com/dropdmg/"
}
}