3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/gh-ost/default.nix

28 lines
637 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2017-06-01 21:57:39 +01:00
let
goPackagePath = "github.com/github/gh-ost";
version = "1.0.47";
sha256 = "0yyhkqis4j2cl6w2drrjxdy5j8x9zp4j89gsny6w4ql8gm5qgvvk";
2017-06-01 21:57:39 +01:00
in
buildGoPackage ({
2017-06-01 21:57:39 +01:00
name = "gh-ost-${version}";
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";
homepage = https://github.com/github/gh-ost;
license = licenses.mit;
platforms = platforms.linux;
};
})