Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
patchwork # Patchwork
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
patchwork # Patchwork
];
} Package Definition
{
"pname": "patchwork",
"version": "3.18.1",
"src": {
"url": "https://github.com/ssbc/patchwork/releases/download/v3.18.1/Patchwork-3.18.1.dmg",
"sha256": "2436dc487afb45264e81c5b1d65cb4acc7ec8d772ce2af2132122f86ca6d887c"
},
"installPhase": [
"mkdir -p \"$out/Applications/Patchwork.app\" && cp -r \"Patchwork.app\" \"$out/Applications\""
],
"meta": {
"description": "Decentralised messaging and sharing app using Secure Scuttlebutt",
"homepage": "https://github.com/ssbc/patchwork"
}
}