blob: 16594f898b97e259dcbb10acd0fc04ee985fd472 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gh-ost";
version = "1.1.2";
src = fetchFromGitHub {
owner = "github";
repo = "gh-ost";
rev = "v${version}";
sha256 = "sha256-q1wtATFm65c2esQ+TPR2f+YafYeOmC79EumHyGxXrnE=";
};
goPackagePath = "github.com/github/gh-ost";
ldflags = [ "-s" "-w" "-X main.AppVersion=${version}" "-X main.BuildDescribe=${src.rev}" ];
meta = with lib; {
description = "Triggerless online schema migration solution for MySQL";
homepage = "https://github.com/github/gh-ost";
license = licenses.mit;
};
}
|