nixpkgs/pkgs/by-name/li/lightning-pool/package.nix

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

30 lines
651 B
Nix
Raw Normal View History

2021-05-24 17:14:59 +01:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "lightning-pool";
version = "0.6.4-beta";
2021-05-24 17:14:59 +01:00
src = fetchFromGitHub {
owner = "lightninglabs";
repo = "pool";
rev = "v${version}";
hash = "sha256-lSc/zOZ5VpmaZ7jrlGvSaczrgOtAMS9tDUxcMoFdBmQ=";
2021-05-24 17:14:59 +01:00
};
vendorHash = "sha256-DD27zUW524qe9yLaVPEzw/c4sSzlH89HMw0PdtNYEhg=";
2021-05-24 17:14:59 +01:00
subPackages = [ "cmd/pool" "cmd/poold" ];
ldflags = [ "-s" "-w" ];
2021-05-24 17:14:59 +01:00
meta = with lib; {
description = "Lightning Pool Client";
homepage = "https://github.com/lightninglabs/pool";
license = licenses.mit;
maintainers = with maintainers; [ proofofkeags prusnak ];
2021-05-24 17:14:59 +01:00
};
}