depot/third_party/nixpkgs/pkgs/applications/blockchains/dcrctl/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

25 lines
597 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "dcrctl";
version = "1.8.0";
src = fetchFromGitHub {
owner = "decred";
repo = "dcrctl";
rev = "release-v${version}";
hash = "sha256-Nm1r3hHTlW5ob2CLKUgMjVsdzR2gxlFuT6Q3j0pPDSg=";
};
vendorHash = "sha256-Ry3wR2u+vr97icP9jwAVWcFO98JVDo9TrDg9D8hfv5I=";
ldflags = [ "-s" "-w" ];
meta = {
homepage = "https://decred.org";
description = "Secure Decred wallet daemon written in Go (golang)";
license = with lib.licenses; [ isc ];
maintainers = [ ];
mainProgram = "dcrctl";
};
}