2020-07-07 03:30:08 -07:00
|
|
|
{ pkgs, buildGoModule, fetchurl, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lightning-loop";
|
2020-10-29 06:07:35 -07:00
|
|
|
version = "0.11.0-beta";
|
2020-07-07 03:30:08 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/lightninglabs/loop/archive/v${version}.tar.gz";
|
|
|
|
# Use ./get-sha256.sh to fetch latest (verified) sha256
|
2020-10-29 06:07:35 -07:00
|
|
|
sha256 = "ce26d8b1bac0c53bd2bc78761c1e1b2e6233e5007686042765f1ec9fd92afc42";
|
2020-07-07 03:30:08 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = [ "cmd/loop" "cmd/loopd" ];
|
|
|
|
|
2020-10-29 06:07:35 -07:00
|
|
|
vendorSha256 = "1kwcmvfk7ja8r75142k2pzinla5i921nrgbnnh4z7zxfpyh2ri4l";
|
2020-07-07 03:30:08 -07: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 ];
|
|
|
|
};
|
|
|
|
}
|