2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lndhub-go";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.14.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "getAlby";
|
|
|
|
repo = "lndhub.go";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = version;
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-m+Sc/rsYIbvd1oOqG4OT+wPtSxlgFq8m03n28eZIWJU=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
vendorHash = "sha256-a4yVuEfhLNM8IEYnafWf///SNLqQL5XZfGgJ5AZLx3c=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|