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.0",
"src": {
"url": "https://download.electrum.org/4.6.0/electrum-4.6.0.dmg",
"sha256": "8f1cfe849432551ab9dd478a61348f53b7594b750e474fbdb4915ad1d24a8479"
},
"installPhase": [
"mkdir -p \"$out/Applications/Electrum.app\" && cp -r \"Electrum.app\" \"$out/Applications\""
],
"meta": {
"description": "Bitcoin thin client",
"homepage": "https://electrum.org/"
}
}