2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2017-06-01 21:57:39 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
goPackagePath = "github.com/github/gh-ost";
|
2020-06-14 16:51:16 +01:00
|
|
|
version = "1.0.49";
|
|
|
|
sha256 = "0mncjhmv25wnhgjkn9gwkz2gzh0v6954w47ql7fs2iqr9al111dq";
|
2017-06-01 21:57:39 +01:00
|
|
|
|
2019-02-13 19:23:51 +00:00
|
|
|
in
|
|
|
|
buildGoPackage ({
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "gh-ost";
|
|
|
|
inherit version;
|
2017-06-01 21:57:39 +01:00
|
|
|
inherit goPackagePath;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "github";
|
|
|
|
repo = "gh-ost";
|
|
|
|
rev = "v${version}";
|
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Triggerless online schema migration solution for MySQL";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/github/gh-ost";
|
2017-06-01 21:57:39 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2019-02-13 19:23:51 +00:00
|
|
|
})
|
|
|
|
|