torq: init at 0.16.9

This commit is contained in:
Martin Milata 2023-01-15 18:19:39 +01:00
parent d57484a451
commit 2dfd7d22c6
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildGoModule
, fetchFromGitHub }:
buildGoModule rec {
pname = "torq";
version = "0.16.9";
src = fetchFromGitHub {
owner = "lncapital";
repo = pname;
rev = "v${version}";
hash = "sha256-jr4DNjHP8xVtl0Y1egVUmvzLRR6YjyUqvvhOAZNKFu0=";
};
vendorHash = "sha256-HETN2IMnpxnTyg6bQDpoD0saJu+gKocdEf0VzEi12Gs=";
subPackages = [ "cmd/torq" ];
ldflags = [
"-s"
"-w"
"-X github.com/lncapital/torq/build.Repository=github.com/${src.owner}/${src.repo}"
"-X github.com/lncapital/torq/build.overrideBuildVer=${version}"
];
meta = with lib; {
description = "Capital management tool for lightning network nodes";
license = licenses.mit;
homepage = "https://github.com/lncapital/torq";
maintainers = with maintainers; [ mmilata prusnak ];
};
}

View file

@ -34198,6 +34198,8 @@ with pkgs;
tessera = callPackage ../applications/blockchains/tessera { };
torq = callPackage ../applications/blockchains/torq { };
vertcoin = libsForQt5.callPackage ../applications/blockchains/vertcoin {
boost = boost17x;
withGui = true;