depot/third_party/nixpkgs/pkgs/applications/blockchains/dcrctl/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

25 lines
621 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 = "A secure Decred wallet daemon written in Go (golang)";
license = with lib.licenses; [ isc ];
maintainers = with lib.maintainers; [ ];
mainProgram = "dcrctl";
};
}