diff options
author | Aaron Jheng <wentworth@outlook.com> | 2023-06-26 15:39:20 +0000 |
---|---|---|
committer | Aaron Jheng <wentworth@outlook.com> | 2023-06-26 15:39:29 +0000 |
commit | a96c9768b02517474d45a733462e6dc7e21bd51b (patch) | |
tree | a20a9833143519397c2b34ad31b12f66918e34c9 /pkgs/applications/blockchains/dcrctl | |
parent | f742512ccc99e6ac457d6d4ddce78f283c4bbfde (diff) |
dcrctl: init at 1.8.0
Diffstat (limited to 'pkgs/applications/blockchains/dcrctl')
-rw-r--r-- | pkgs/applications/blockchains/dcrctl/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/dcrctl/default.nix b/pkgs/applications/blockchains/dcrctl/default.nix new file mode 100644 index 0000000000000..31e56254ee786 --- /dev/null +++ b/pkgs/applications/blockchains/dcrctl/default.nix @@ -0,0 +1,24 @@ +{ 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; [ aaronjheng ]; + }; +} |