diff options
author | OTABI Tomoya <tomoya.otabi@gmail.com> | 2023-11-05 10:07:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-05 10:07:25 +0900 |
commit | dd90dc28e913a9bea1e749fd6a1e7f9614c18559 (patch) | |
tree | 00d6f87b044f5f75076fcb69030f866b4197527f /pkgs/tools | |
parent | 69847ad3bbf4ad69513f315e44e6b99c9373a936 (diff) | |
parent | 02b60b82a34930f5c27d0f8af34cd7ef40262613 (diff) |
Merge pull request #265374 from aaronjheng/gh-ost
gh-ost: 1.1.5 -> 1.1.6
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/gh-ost/default.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/tools/misc/gh-ost/default.nix b/pkgs/tools/misc/gh-ost/default.nix index 5692ac812deea..a43c6bb80f0b9 100644 --- a/pkgs/tools/misc/gh-ost/default.nix +++ b/pkgs/tools/misc/gh-ost/default.nix @@ -1,19 +1,27 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, testers, gh-ost }: -buildGoPackage rec { +buildGoModule rec { pname = "gh-ost"; - version = "1.1.5"; + version = "1.1.6"; src = fetchFromGitHub { owner = "github"; repo = "gh-ost"; rev = "v${version}"; - sha256 = "sha256-FTWKbZ/32cr/BUI+jtV0HYlWDFz+R2YQd6ZSzilDj64="; + hash = "sha256-dTz4w+OJXe2+ygsYsQ9tanDyaMXvdh8W3d8xpjQMapI="; }; - goPackagePath = "github.com/github/gh-ost"; + vendorHash = null; - ldflags = [ "-s" "-w" "-X main.AppVersion=${version}" "-X main.BuildDescribe=${src.rev}" ]; + ldflags = [ + "-s" + "-w" + "-X main.AppVersion=${version}" + ]; + + passthru.tests.version = testers.testVersion { + package = gh-ost; + }; meta = with lib; { description = "Triggerless online schema migration solution for MySQL"; |