gh-ost: 1.1.5 -> 1.1.6

This commit is contained in:
Aaron Jheng 2023-11-04 10:45:19 +08:00
parent 56764a2e38
commit 02b60b82a3
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

@ -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";