Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
golly # Golly
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
golly # Golly
];
} Package Definition
{
"pname": "golly",
"version": "5.0",
"src": {
"url": "https://downloads.sourceforge.net/golly/golly/golly-5.0/golly-5.0-mac.dmg",
"sha256": "cf03c5b7941566f6222a519b984b6a6cd6e6e2107f61a31995be79a8b50c304e"
},
"installPhase": [
"mkdir -p \"$out/Applications/golly-5.0-mac\" && cp -r \"golly-5.0-mac\" \"$out/Applications\"",
"mkdir -p \"$out/bin\" && ln -s \"$out/Applications/golly-5.0-mac/bgolly\" \"$out/bin/bgolly\""
],
"meta": {
"description": "Explore Conway's Game of Life and other types of cellular automata",
"homepage": "https://golly.sourceforge.io/"
}
}