nix-bitcoin/pkgs/lightning-loop/default.nix

24 lines
722 B
Nix
Raw Normal View History

2020-07-07 03:30:08 -07:00
{ pkgs, buildGoModule, fetchurl, lib }:
buildGoModule rec {
pname = "lightning-loop";
2021-05-05 02:12:15 -07:00
version = "0.12.2-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-05-05 02:12:15 -07:00
sha256 = "b2fbacdd8b2311b2f9873fa479e399ef7a09cc038b5c8449f9183b0038d81cc3";
2020-07-07 03:30:08 -07:00
};
subPackages = [ "cmd/loop" "cmd/loopd" ];
2021-05-05 02:12:15 -07:00
vendorSha256 = "03z0cmn9qgcmqm8llybfn1hz1m9hx3pn18m11s3fwnay8ib00r89";
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 ];
};
}