1 { lib, buildGoModule, fetchFromGitHub, fetchpatch }:
7 src = fetchFromGitHub {
10 rev = "refs/tags/release-v${version}";
11 hash = "sha256-nSocqwXgJhvfbdElddbb1gGxoygmtVtK6DbiSuMxYew=";
16 name = "dcrd-appdata-env-variable.patch";
17 url = "https://github.com/decred/dcrd/pull/3152/commits/216132d7d852f3f2e2a6bf7f739f47ed62ac9387.patch";
18 hash = "sha256-R1GzP0qVP5XW1GnSJqFOpJVnwrVi/62tL1L2mc33+Dw=";
22 vendorHash = "sha256-Napcfj1+KjQ21Jb/qpIzg2W/grzun2Pz5FV5yIBXoTo=";
24 subPackages = [ "." "cmd/promptsecret" ];
26 __darwinAllowLocalNetworking = true;
29 export DCRD_APPDATA="$TMPDIR"
33 homepage = "https://decred.org";
34 description = "Decred daemon in Go (golang)";
35 license = with lib.licenses; [ isc ];
36 maintainers = with lib.maintainers; [ juaningan ];