2020-07-07 10:30:08 +00:00
|
|
|
{ pkgs, buildGoModule, fetchurl, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lightning-loop";
|
2021-02-10 15:36:32 +00:00
|
|
|
version = "0.11.3-beta";
|
2020-07-07 10:30:08 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/lightninglabs/loop/archive/v${version}.tar.gz";
|
|
|
|
# Use ./get-sha256.sh to fetch latest (verified) sha256
|
2021-02-10 15:36:32 +00:00
|
|
|
sha256 = "b9eebf39543e7d0cd50ebb29242578146b25781fd5f6ac4c2b7c93448fb65448";
|
2020-07-07 10:30:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = [ "cmd/loop" "cmd/loopd" ];
|
|
|
|
|
2021-02-10 15:36:32 +00:00
|
|
|
vendorSha256 = "1xml5mbjnp3hs1qmzz98ivjq438l816pphw6iyjjkq44pifnglrz";
|
2020-07-07 10:30:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = " Lightning Loop: A Non-Custodial Off/On Chain Bridge";
|
|
|
|
homepage = "https://github.com/lightninglabs/loop";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nixbitcoin ];
|
|
|
|
};
|
|
|
|
}
|