2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2017-06-01 22:57:39 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
goPackagePath = "github.com/github/gh-ost";
|
2019-02-13 20:23:51 +01:00
|
|
|
version = "1.0.47";
|
|
|
|
sha256 = "0yyhkqis4j2cl6w2drrjxdy5j8x9zp4j89gsny6w4ql8gm5qgvvk";
|
2017-06-01 22:57:39 +02:00
|
|
|
|
2019-02-13 20:23:51 +01:00
|
|
|
in
|
|
|
|
buildGoPackage ({
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "gh-ost";
|
|
|
|
inherit version;
|
2017-06-01 22:57:39 +02: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 03:11:51 +02:00
|
|
|
homepage = "https://github.com/github/gh-ost";
|
2017-06-01 22:57:39 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2019-02-13 20:23:51 +01:00
|
|
|
})
|
|
|
|
|