torq: 0.16.9 -> 0.16.15

This commit is contained in:
Pavol Rusnak 2023-01-19 18:56:18 +00:00
parent 4f50411cfc
commit 6c35899785
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -1,16 +1,17 @@
{ lib { lib
, buildGoModule , buildGoModule
, fetchFromGitHub }: , fetchFromGitHub
}:
buildGoModule rec { buildGoModule rec {
pname = "torq"; pname = "torq";
version = "0.16.9"; version = "0.16.15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lncapital"; owner = "lncapital";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-jr4DNjHP8xVtl0Y1egVUmvzLRR6YjyUqvvhOAZNKFu0="; hash = "sha256-ibrPq/EC61ssn4072gTNvJg9QO41+aTsU1Hhc6X6NPk=";
}; };
vendorHash = "sha256-HETN2IMnpxnTyg6bQDpoD0saJu+gKocdEf0VzEi12Gs="; vendorHash = "sha256-HETN2IMnpxnTyg6bQDpoD0saJu+gKocdEf0VzEi12Gs=";
@ -20,8 +21,7 @@ buildGoModule rec {
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
"-X github.com/lncapital/torq/build.Repository=github.com/${src.owner}/${src.repo}" "-X github.com/lncapital/torq/build.version=v${version}"
"-X github.com/lncapital/torq/build.overrideBuildVer=${version}"
]; ];
meta = with lib; { meta = with lib; {