Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
gama-jdk # GAMA Platform with embedded JDK
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
gama-jdk # GAMA Platform with embedded JDK
];
}
Package Definition
{
"pname": "gama-jdk",
"version": "1.9.3",
"src": {
"url": "https://github.com/gama-platform/gama/releases/download/1.9.3/GAMA_1.9.3_MacOS_M1_with_JDK.dmg",
"sha256": "f26215c0069e9e633db327a6ca70d478316ef5ca564409fc262d94ce27380f13"
},
"installPhase": [
"mkdir -p \"$out/Applications/Gama.app\" && cp -r \"Gama.app\" \"$out/Applications\""
],
"meta": {
"description": "IDE for building spatially explicit agent-based simulations",
"homepage": "https://gama-platform.org/"
}
}