Merge pull request #211632 from prusnak/torq

torq: 0.16.9 -> 0.16.15
This commit is contained in:
Pavol Rusnak 2023-01-19 20:52:17 +00:00 committed by GitHub
commit 346981f35f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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