nixpkgs/pkgs/applications/blockchains/lightning-loop/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
652 B
Nix
Raw Normal View History

2021-05-10 20:11:28 +00:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "lightning-loop";
version = "0.24.1-beta";
2021-05-10 20:11:28 +00:00
src = fetchFromGitHub {
owner = "lightninglabs";
repo = "loop";
rev = "v${version}";
hash = "sha256-gPWiKSwXS1eSuHss+hkiqqxqonGYSGmSh3/jL+NlqEg=";
2021-05-10 20:11:28 +00:00
};
vendorHash = "sha256-6bRg6is1g/eRCr82tHMXTWVFv2S0d2h/J3w1gpentjo=";
2021-05-10 20:11:28 +00:00
subPackages = [ "cmd/loop" "cmd/loopd" ];
ldflags = [ "-s" "-w" ];
2021-05-10 20:11:28 +00:00
meta = with lib; {
description = "Lightning Loop Client";
homepage = "https://github.com/lightninglabs/loop";
license = licenses.mit;
maintainers = with maintainers; [ proofofkeags prusnak ];
2021-05-10 20:11:28 +00:00
};
}