2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lndhub-go";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.10.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "getAlby";
|
|
|
|
repo = "lndhub.go";
|
|
|
|
rev = "${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-f/CkmO0KHupmi4XZDWRbvesLnYIxT6DlThgX3S/kdJ8=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
vendorSha256 = "sha256-SWQudULFRMrKmxY6ZgH0NL8d6UPxowQnovhRx+209D4=";
|
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;
|
|
|
|
};
|
|
|
|
}
|