nix-bitcoin/pkgs/trustedcoin/default.nix

24 lines
603 B
Nix
Raw Normal View History

2022-08-26 21:14:52 -07:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "trustedcoin";
2023-03-03 12:00:00 -08:00
version = "0.6.1";
2022-08-26 21:14:52 -07:00
src = fetchFromGitHub {
owner = "nbd-wtf";
repo = pname;
rev = "v${version}";
2023-03-03 12:00:00 -08:00
sha256 = "sha256-UNQjxhAT0mK1In7vUtIoMoMNBV+0wkrwbDmm7m+0R3o=";
2022-08-26 21:14:52 -07:00
};
2023-03-03 12:00:00 -08:00
vendorSha256 = "sha256-xvkK9rMQlXTnNyOMd79qxVSvhgPobcBk9cq4/YWbupY=";
2022-08-26 21:14:52 -07:00
subPackages = [ "." ];
meta = with lib; {
description = "Light bitcoin node implementation";
homepage = "https://github.com/nbd-wtf/trustedcoin";
maintainers = with maintainers; [ seberm fort-nix ];
platforms = platforms.linux;
};
}