Merge pull request #210244 from r-ryantm/auto-update/sq

sq: 0.20.0 -> 0.24.0
This commit is contained in:
Ryan Lahfa 2023-03-05 23:05:22 +01:00 committed by GitHub
commit 770d677e5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "sq";
version = "0.20.0";
version = "0.24.0";
src = fetchFromGitHub {
owner = "neilotoole";
repo = pname;
rev = "v${version}";
sha256 = "sha256-mJp4lb4pzjdjodHk2zLAEePn+oIPI/vTtU0YOIbmWDY=";
sha256 = "sha256-KPH1IsvYQvyUsi4qxWKLpCQNrPCnulCqQLPK5iadm3I=";
};
vendorSha256 = "sha256-8kk+KCanbnsizGRjF3qcxCBxC7Sx0zfptQFTETZp89E=";
vendorHash = "sha256-AL4ghkeTIkXZXpGeBnWIx3hY6uO2bO7eVcH6DR/5jQc=";
proxyVendor = true;
@ -23,7 +23,7 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X=github.com/neilotoole/sq/cli/buildinfo.Version=${version}"
"-X=github.com/neilotoole/sq/cli/buildinfo.Version=v${version}"
];
postInstall = ''
@ -34,7 +34,10 @@ buildGoModule rec {
'';
passthru.tests = {
version = testers.testVersion { package = sq; };
version = testers.testVersion {
package = sq;
version = "v${version}";
};
};
meta = with lib; {