1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/applications/blockchains/dcrd.nix

25 lines
621 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2018-03-03 20:40:01 +00:00
buildGoModule rec {
pname = "dcrd";
version = "1.5.1";
2018-03-03 20:40:01 +00:00
src = fetchFromGitHub {
owner = "decred";
repo = "dcrd";
rev = "refs/tags/release-v${version}";
sha256 = "1ggw289y1f4dqvj3w60q9bahq8bblbfjymn5xy04ldylr3qlxm9x";
2018-03-03 20:40:01 +00:00
};
vendorSha256 = "03aw6mcvp1vr01ppxy673jf5hdryd5032cxndlkaiwg005mxp1dy";
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 ];
maintainers = with lib.maintainers; [ juaningan ];
2018-03-03 20:40:01 +00:00
};
}