Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
spike # Lego SPIKE
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
spike # Lego SPIKE
];
}
Package Definition
{
"pname": "spike",
"version": "3.5.0",
"src": {
"url": "https://education.lego.com/_/downloads/SPIKE_APP_3_macOS__3.5.0_Global.dmg",
"sha256": "b017ae5e8a91177e71cb84833c772ee33777f1b2412ba446720938a58f59ca59"
},
"installPhase": [
"mkdir -p \"$out/Applications/Spike.app\" && cp -r \"Spike.app\" \"$out/Applications\""
],
"meta": {
"description": "Develop with Scratch and Python for your LEGO Spike set",
"homepage": "https://education.lego.com/"
}
}