Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
ganache # Ganache
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
ganache # Ganache
];
} Package Definition
{
"pname": "ganache",
"version": "2.7.1",
"src": {
"url": "https://github.com/trufflesuite/ganache-ui/releases/download/v2.7.1/Ganache-2.7.1-mac.dmg",
"sha256": "e2e0fd17d4e2e3e42b007bf2e6f88a99da49d9d20cc8443b857f8183d64e76fe"
},
"installPhase": [
"mkdir -p \"$out/Applications/Ganache.app\" && cp -r \"Ganache.app\" \"$out/Applications\""
],
"meta": {
"description": "Personal blockchain for Ethereum development",
"homepage": "https://trufflesuite.com/ganache/"
}
}