Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
ball # Ball
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
ball # Ball
];
}
Package Definition
{
"pname": "ball",
"version": "1",
"src": {
"url": "https://github.com/nate-parrott/ball/releases/download/v1/Ball.dmg",
"sha256": "f3b1794971cc34fadcd817c8c4ed1ad9e791143254696fb6e78fea1294bccbd1"
},
"installPhase": [
"mkdir -p \"$out/Applications/Ball.app\" && cp -r \"Ball.app\" \"$out/Applications\""
],
"meta": {
"description": "Utility that adds a ball to your dock",
"homepage": "https://github.com/nate-parrott/ball"
}
}