Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
decrediton # Decrediton
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
decrediton # Decrediton
];
}
Package Definition
{
"pname": "decrediton",
"version": "2.0.5",
"src": {
"url": "https://github.com/decred/decred-binaries/releases/download/v2.0.5/decrediton-darwin-arm64-v2.0.5.dmg",
"sha256": "f1c7ab512666ae29f146e67cb7c32f2979abffe7b18443eb2ff684a9726fa312"
},
"installPhase": [
"mkdir -p \"$out/Applications\" && cp -r \"decrediton.app\" \"$out/Applications/decrediton.app\""
],
"meta": {
"description": "GUI for the Decred wallet",
"homepage": "https://github.com/decred/decrediton"
}
}