2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lndhub-go";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "0.13.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "getAlby";
|
|
|
|
repo = "lndhub.go";
|
|
|
|
rev = "${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
sha256 = "sha256-ZyqE6xFNsOwTBbLLn14jwNp9UkagTRgAQS+SEl+POaY=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
vendorHash = "sha256-Wsejz/vYaT/maN7dYcrXPTXg30jZaldaslXbHcgHlRs=";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
doCheck = false; # tests require networking
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Accounting wrapper for the Lightning Network";
|
|
|
|
homepage = "https://github.com/getAlby/lndhub.go";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ prusnak ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|