about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/dcrctl/default.nix
blob: 04411399ac34df35887c5ca21f6bca8382e87822 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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";
  };
}