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-09-19 14:19:46 +00:00
|
|
|
version = "2.0.4";
|
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-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-JKux64ANtoBumfVU2OyAyLgHDNZMe/bn+SMuQ8qV43M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
vendorHash = "sha256-ic8328r3BpycC2NiErTiFtRIkQaBhYcBwRgq/t9hmT8=";
|
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
|
|
|
};
|
|
|
|
}
|