Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
electrum # Electrum
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
electrum # Electrum
];
}
Package Definition
{
"pname": "electrum",
"version": "4.6.1",
"src": {
"url": "https://download.electrum.org/4.6.1/electrum-4.6.1.dmg",
"sha256": "f4168cca2e017a3b9dd288c82f74d2f26e1bd6e4fff5e137e012842abc40fb26"
},
"installPhase": [
"mkdir -p \"$out/Applications/Electrum.app\" && cp -r \"Electrum.app\" \"$out/Applications\""
],
"meta": {
"description": "Bitcoin thin client",
"homepage": "https://electrum.org/"
}
}