2022-06-04 18:48:46 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lndhub-go";
|
2022-07-08 13:43:31 +01:00
|
|
|
version = "0.9.0";
|
2022-06-04 18:48:46 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "getAlby";
|
|
|
|
repo = "lndhub.go";
|
|
|
|
rev = "${version}";
|
2022-07-08 13:43:31 +01:00
|
|
|
sha256 = "sha256-QtLSI5xjXevTTr85Zsylabhay52ul8jFq1j6WzgSLcs=";
|
2022-06-04 18:48:46 +01:00
|
|
|
};
|
|
|
|
|
2022-07-08 13:43:31 +01:00
|
|
|
vendorSha256 = "sha256-12RTaXStvx29JjE1u3AjBTrPf6gKfLHJHMJpbQysEew=";
|
2022-06-04 18:48:46 +01: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;
|
|
|
|
};
|
|
|
|
}
|