mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #210244 from r-ryantm/auto-update/sq
sq: 0.20.0 -> 0.24.0
This commit is contained in:
commit
770d677e5f
1 changed files with 8 additions and 5 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue