depot/third_party/nixpkgs/pkgs/applications/blockchains/lndhub-go/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
651 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "lndhub-go";
version = "1.0.0";
src = fetchFromGitHub {
owner = "getAlby";
repo = "lndhub.go";
rev = version;
sha256 = "sha256-PHBzM/lYYu6hXa5jiFQR/K5j+vmxaYH7xuoxOhFbhMk=";
};
vendorHash = "sha256-Vo29w04cRW0syD2tjieKVeZ3srFNuEC3T17birVWn6k=";
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 ];
mainProgram = "lndhub.go";
};
}