summary refs log tree commit diff
path: root/pkgs/applications/blockchains/dcrwallet/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/blockchains/dcrwallet/default.nix')
-rw-r--r--pkgs/applications/blockchains/dcrwallet/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/dcrwallet/default.nix b/pkgs/applications/blockchains/dcrwallet/default.nix
new file mode 100644
index 00000000000..2266a1e4c26
--- /dev/null
+++ b/pkgs/applications/blockchains/dcrwallet/default.nix
@@ -0,0 +1,26 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "dcrwallet";
+  version = "1.6.0";
+
+  src = fetchFromGitHub {
+    owner = "decred";
+    repo = "dcrwallet";
+    rev = "refs/tags/v${version}";
+    sha256 = "sha256-WUfmv+laOwR/fc4osAFzPKqHQR+wOtSdLEsysICnuvg=";
+  };
+
+  vendorSha256 = "sha256-9IRNlULvARIZu6dWaKrvx6fiDJ80SBLINhK/9tW9k/0=";
+
+  doCheck = false;
+
+  subPackages = [ "." ];
+
+  meta = {
+    homepage = "https://decred.org";
+    description = "A secure Decred wallet daemon written in Go (golang)";
+    license = with lib.licenses; [ isc ];
+    maintainers = with lib.maintainers; [ juaningan ];
+  };
+}