Merge fort-nix/nix-bitcoin#696: trustedcoin: 0.6.1 -> 0.7.0

de048c201e trustedcoin: 0.6.1 -> 0.7.0 (Otto Sabart)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK de048c201e

Tree-SHA512: a2fbf7cef265d119a81913210f7dd97d10e356e600a3198c66383d7c78b2322b8eb211b990aae47f3557d8c76ed668bf5ac6d23e0a8636f2606d008092a37754
This commit is contained in:
Jonas Nick 2024-05-20 06:36:29 +00:00
commit 0de7f48528
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -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 = [ "." ];