30 lines
682 B
Nix
30 lines
682 B
Nix
{ lib
|
|
, stdenv
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, fetchpatch
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "lndhub-go";
|
|
version = "0.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "getAlby";
|
|
repo = "lndhub.go";
|
|
rev = "${version}";
|
|
sha256 = "sha256-bwwypqaqlO+T/8ppKIHqGSzVerhQVl7YHrORyrpaa2w=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-AiRbUSgMoU8nTzis/7H9HRW2/xZxXFf39JipRbukeiA=";
|
|
|
|
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;
|
|
};
|
|
}
|