From de048c201eea7881944e8391772ecb62f466a642 Mon Sep 17 00:00:00 2001 From: Otto Sabart Date: Mon, 6 May 2024 21:00:00 +0200 Subject: [PATCH] trustedcoin: 0.6.1 -> 0.7.0 --- pkgs/trustedcoin/default.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/pkgs/trustedcoin/default.nix b/pkgs/trustedcoin/default.nix index f65d2c5..381de67 100644 --- a/pkgs/trustedcoin/default.nix +++ b/pkgs/trustedcoin/default.nix @@ -1,25 +1,16 @@ -{ lib, buildGoModule, fetchFromGitHub, fetchpatch }: +{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "trustedcoin"; - version = "0.6.1"; + version = "0.7.0"; src = fetchFromGitHub { owner = "nbd-wtf"; repo = pname; rev = "v${version}"; - hash = "sha256-UNQjxhAT0mK1In7vUtIoMoMNBV+0wkrwbDmm7m+0R3o="; + hash = "sha256-uEJVxpNKInIroHf22GQs+0xzJCijtIo+6KOM2Yefu6o="; }; - patches = [ - # https://github.com/nbd-wtf/trustedcoin/pull/22 required for regtest - (fetchpatch { - name = "add-regtest-support"; - url = "https://github.com/nbd-wtf/trustedcoin/commit/aba05c55ccbfc50785328f556be8a5bd46e76beb.patch"; - hash = "sha256-24mYyXjUMVSlr9IlaqaTVAPE6bxxScNgR8Bb3x2t90Y="; - }) - ]; - vendorHash = "sha256-xvkK9rMQlXTnNyOMd79qxVSvhgPobcBk9cq4/YWbupY="; subPackages = [ "." ];