fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
32 lines
874 B
Nix
32 lines
874 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dcrwallet";
|
|
version = "2.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "decred";
|
|
repo = "dcrwallet";
|
|
rev = "release-v${version}";
|
|
hash = "sha256-vFh3+FDN1+7HiP9fFyW8p1LJkW0lfwAiyLhZjqxQ6J4=";
|
|
};
|
|
|
|
vendorHash = "sha256-rVkQsr14yqATLGxevl8PLBOhVnTCrM4Yo2G5NvX/59g=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
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$"
|
|
];
|
|
|
|
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 ];
|
|
mainProgram = "dcrwallet";
|
|
};
|
|
}
|