Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
dangerzone # Dangerzone
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
dangerzone # Dangerzone
];
}
Package Definition
{
"pname": "dangerzone",
"version": "0.8.1",
"src": {
"url": "https://github.com/freedomofpress/dangerzone/releases/download/v0.8.1/Dangerzone-0.8.1-arm64.dmg",
"sha256": "47369486aac1c6d11410a2d8cb4ec54167f1ecc3fa2b10812e14c3e3ecdcc888"
},
"installPhase": [
"mkdir -p \"$out/Applications/Dangerzone.app\" && cp -r \"Dangerzone.app\" \"$out/Applications\""
],
"meta": {
"description": "Convert potentially dangerous PDFs or Office documents into safe PDFs",
"homepage": "https://dangerzone.rocks/"
}
}