1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/tools/misc/gh-ost/default.nix
Casey Ransom 81a288124e gh-ost: 1.0.36 -> 1.0.47
Also fixes a weirdness with the derivation where to use it, you needed
to specify `gh-ost.gh-ost`. There's nothing special about the extra
output.
2019-02-13 14:29:14 -05:00

28 lines
637 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
let
goPackagePath = "github.com/github/gh-ost";
version = "1.0.47";
sha256 = "0yyhkqis4j2cl6w2drrjxdy5j8x9zp4j89gsny6w4ql8gm5qgvvk";
in
buildGoPackage ({
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;
};
})