Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
sparkle # Sparkle
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
sparkle # Sparkle
];
}
Package Definition
{
"pname": "sparkle",
"version": "2.7.0",
"src": {
"url": "https://github.com/sparkle-project/Sparkle/releases/download/2.7.0/Sparkle-2.7.0.tar.xz",
"sha256": "09fed60cca507d2dc542c86c22e525598af5483954a5c66366ce039647ec88e9"
},
"installPhase": [
"mkdir -p \"$out/Applications/Sparkle Test App.app\" && cp -r \"Sparkle Test App.app\" \"$out/Applications\"",
"mkdir -p \"$out/bin\" && ln -s \"sparkle.app/Contents/MacOS/sparkle\" \"$out/bin/sparkle\""
],
"meta": {
"description": "Software update framework for Cocoa developers",
"homepage": "https://sparkle-project.org/"
}
}