2020-07-18 16:06:22 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "dcrd";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "1.5.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "decred";
|
|
|
|
repo = "dcrd";
|
|
|
|
rev = "refs/tags/release-v${version}";
|
|
|
|
sha256 = "1ggw289y1f4dqvj3w60q9bahq8bblbfjymn5xy04ldylr3qlxm9x";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
vendorSha256 = "03aw6mcvp1vr01ppxy673jf5hdryd5032cxndlkaiwg005mxp1dy";
|
|
|
|
|
|
|
|
subPackages = [ "." "cmd/dcrctl" "cmd/promptsecret" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://decred.org";
|
|
|
|
description = "Decred daemon in Go (golang)";
|
|
|
|
license = with lib.licenses; [ isc ];
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with lib.maintainers; [ juaningan ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|