Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / blockchains / faraday / default.nix
blob14b065329bb1b9ae701c30ab4b6e5995acdbe143
1 { buildGoModule
2 , fetchFromGitHub
3 , lib
4 , testers
5 , faraday
6 }:
8 buildGoModule rec {
9   pname = "faraday";
10   version = "0.2.11-alpha";
12   src = fetchFromGitHub {
13     owner = "lightninglabs";
14     repo = "faraday";
15     rev = "v${version}";
16     hash = "sha256-KiGj24sBeClmzW60lRrvXwgXf3My7jhHTY+VhIMMp0k=";
17   };
19   vendorHash = "sha256-ku/4VE1Gj62vuJLh9J6vKlxpyI7S0RsMDozV7U5YDe4=";
21   subPackages = [ "cmd/frcli" "cmd/faraday" ];
23   ldflags = [ "-s" "-w" ];
25   passthru.tests.version = testers.testVersion {
26     package = faraday;
27   };
29   meta = with lib; {
30     description = "LND Channel Management Tools";
31     homepage = "https://github.com/lightninglabs/faraday";
32     license = licenses.mit;
33     maintainers = with maintainers; [ proofofkeags prusnak ];
34   };