2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lndhub-go";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "1.0.2";
|
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;
|
2024-07-01 15:47:52 +00:00
|
|
|
sha256 = "sha256-17vvC6J0VdXouGfX4k1kCVRlkXbNSX3AT8QIY8uKDUE=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
vendorHash = "sha256-Vo29w04cRW0syD2tjieKVeZ3srFNuEC3T17birVWn6k=";
|
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 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "lndhub.go";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|