2020-07-07 03:30:08 -07:00
|
|
|
{ pkgs, buildGoModule, fetchurl, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lightning-loop";
|
2021-03-26 02:31:11 -07:00
|
|
|
version = "0.12.1-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
|
2021-03-26 02:31:11 -07:00
|
|
|
sha256 = "9e76e6951379a5f7403d27c7a1c98041449055479799b5708a9b6eb12750dcaf";
|
2020-07-07 03:30:08 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = [ "cmd/loop" "cmd/loopd" ];
|
|
|
|
|
2021-03-07 10:28:08 -08:00
|
|
|
vendorSha256 = "0r0k6b3pml9silwdzvbvbhgcjk6nf9rp6incyqkwr9kdc2fl0dcw";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|