nixpkgs/pkgs/applications/blockchains/faraday/default.nix

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

36 lines
760 B
Nix
Raw Normal View History

2021-05-10 17:27:59 +00:00
{ buildGoModule
, fetchFromGitHub
, lib
2023-05-25 06:36:13 +00:00
, testers
, faraday
2021-05-10 17:27:59 +00:00
}:
buildGoModule rec {
pname = "faraday";
2023-05-25 06:36:13 +00:00
version = "0.2.11-alpha";
2021-05-10 17:27:59 +00:00
src = fetchFromGitHub {
owner = "lightninglabs";
repo = "faraday";
rev = "v${version}";
2023-05-25 06:36:13 +00:00
hash = "sha256-KiGj24sBeClmzW60lRrvXwgXf3My7jhHTY+VhIMMp0k=";
2021-05-10 17:27:59 +00:00
};
2023-05-25 06:36:13 +00:00
vendorHash = "sha256-ku/4VE1Gj62vuJLh9J6vKlxpyI7S0RsMDozV7U5YDe4=";
2021-05-10 17:27:59 +00:00
subPackages = [ "cmd/frcli" "cmd/faraday" ];
2023-05-25 06:36:13 +00:00
ldflags = [ "-s" "-w" ];
passthru.tests.version = testers.testVersion {
package = faraday;
};
2021-05-10 17:27:59 +00:00
meta = with lib; {
description = "LND Channel Management Tools";
homepage = "https://github.com/lightninglabs/faraday";
license = licenses.mit;
2021-06-18 09:54:50 +00:00
maintainers = with maintainers; [ proofofkeags prusnak ];
2021-05-10 17:27:59 +00:00
};
}