35 lines
837 B
Nix
35 lines
837 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "dcrwallet";
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "decred";
|
|
repo = "dcrwallet";
|
|
rev = "release-v${finalAttrs.version}";
|
|
hash = "sha256-GV6fgmX5qrdhCTkyanjaFpS+SrCKenEm7IvgXDEt/04=";
|
|
};
|
|
|
|
vendorHash = "sha256-1AHAfiTFwmwbp477wummASaWSu3bAg9SKGWfeF3Rhds=";
|
|
|
|
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 = "Decred wallet daemon written in Go (golang)";
|
|
license = with lib.licenses; [ isc ];
|
|
mainProgram = "dcrwallet";
|
|
};
|
|
}) |