2019-09-14 15:14:46 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-03-03 20:40:01 +00:00
|
|
|
|
2019-09-14 15:14:46 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "dcrd";
|
2020-09-04 12:17:43 +01:00
|
|
|
version = "1.5.2";
|
2018-03-03 20:40:01 +00:00
|
|
|
|
2019-09-14 15:14:46 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "decred";
|
|
|
|
repo = "dcrd";
|
|
|
|
rev = "refs/tags/release-v${version}";
|
2020-09-04 12:17:43 +01:00
|
|
|
sha256 = "14pxajc8si90hnddilfm09kmljwxq6i6p53fk0g09jp000cbklkl";
|
2018-03-03 20:40:01 +00:00
|
|
|
};
|
|
|
|
|
2019-09-14 15:14:46 +01:00
|
|
|
vendorSha256 = "03aw6mcvp1vr01ppxy673jf5hdryd5032cxndlkaiwg005mxp1dy";
|
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-09-14 15:14:46 +01:00
|
|
|
subPackages = [ "." "cmd/dcrctl" "cmd/promptsecret" ];
|
2018-03-03 20:40:01 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://decred.org";
|
|
|
|
description = "Decred daemon in Go (golang)";
|
|
|
|
license = with lib.licenses; [ isc ];
|
2019-09-14 15:14:46 +01:00
|
|
|
maintainers = with lib.maintainers; [ juaningan ];
|
2018-03-03 20:40:01 +00:00
|
|
|
};
|
|
|
|
}
|