Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
warsow # Warsow
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
warsow # Warsow
];
} Package Definition
{
"pname": "warsow",
"version": "2.1.2",
"src": {
"url": "https://warsow.net/warsow-2.1.2.dmg",
"sha256": "176b037186e4d8a1c0fc740fe8660cd960339fc4eeca5e5eaaec4028b9bd6aba"
},
"installPhase": [
"mkdir -p \"$out/Applications/Warsow.app\" && cp -r \"Warsow.app\" \"$out/Applications\""
],
"meta": {
"description": "First-person shooter game",
"homepage": "https://www.warsow.net/"
}
}