2020-07-18 16:06:22 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "dcrwallet";
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "2.0.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "decred";
|
|
|
|
repo = "dcrwallet";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "release-v${version}";
|
2024-06-24 18:47:55 +00:00
|
|
|
hash = "sha256-sRwGpOVydfZjgo7W+4RsHC4JElPyilbV5xhcHxPh2Wc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
vendorHash = "sha256-lVVIS3FL8XwthCpzRKdw59NVtHVxXQ0ouD7jYQzOecM=";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
subPackages = [ "." ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
checkFlags = [
|
|
|
|
# Test fails with:
|
|
|
|
# 'x509_test.go:201: server did not report bad certificate error;
|
|
|
|
# instead errored with [...] tls: unknown certificate authority (*url.Error)'
|
|
|
|
"-skip=^TestUntrustedClientCert$"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://decred.org";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Secure Decred wallet daemon written in Go (golang)";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = with lib.licenses; [ isc ];
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with lib.maintainers; [ juaningan ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "dcrwallet";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|