Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
crypter # Crypter
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
crypter # Crypter
];
} Package Definition
{
"pname": "crypter",
"version": "5.0.0",
"src": {
"url": "https://github.com/HR/Crypter/releases/download/v5.0.0/Crypter-5.0.0.dmg",
"sha256": "ed136dbfacae87d52493e56e0e225d13203de997c54e7ac5f159feeadfcd4b7a"
},
"installPhase": [
"mkdir -p \"$out/Applications/Crypter.app\" && cp -r \"Crypter.app\" \"$out/Applications\""
],
"meta": {
"description": "Encryption software",
"homepage": "https://github.com/HR/Crypter"
}
}