Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
openra # OpenRA
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
openra # OpenRA
];
} Package Definition
{
"pname": "openra",
"version": "20250303",
"src": {
"url": "https://github.com/OpenRA/OpenRA/releases/download/release-20250303/OpenRA-release-20250303.dmg",
"sha256": "3e2239d9776e660d49ce509cf318a305eed086feccaa799c0f7c3b0c0b1d0d1b"
},
"installPhase": [
"mkdir -p \"$out/Applications/OpenRA - Dune 2000.app\" && cp -r \"OpenRA - Dune 2000.app\" \"$out/Applications\"",
"mkdir -p \"$out/Applications/OpenRA - Red Alert.app\" && cp -r \"OpenRA - Red Alert.app\" \"$out/Applications\"",
"mkdir -p \"$out/Applications/OpenRA - Tiberian Dawn.app\" && cp -r \"OpenRA - Tiberian Dawn.app\" \"$out/Applications\""
],
"meta": {
"description": "Real-time strategy game engine for Westwood games",
"homepage": "https://www.openra.net/"
}
}