git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #26313 from polynomial/gh-ost

gh-ost: init at 1.0.36

commit6dc4d7445c5aedb0b40b8a678690fdc20063e636 authorJoachim F <joachifm@users.noreply.github.com> dateSun 13 Aug 2017, 21:11 (9 years ago) parent3e21f91e57deab
2 files changed+29
pkgs/tools/misc/gh-ost/default.nix+27 pkgs/top-level/all-packages.nix+2
pkgs/tools/misc/gh-ost/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2+
3+let
4+ goPackagePath = "github.com/github/gh-ost";
5+ version = "1.0.36";
6+ sha256 = "0qa7k50bf87bx7sr6iwqri8l49f811gs0bj3ivslxfibcs1z5d4h";
7+
8+in {
9+ gh-ost = buildGoPackage ({
10+ name = "gh-ost-${version}";
11+ inherit goPackagePath;
12+
13+ src = fetchFromGitHub {
14+ owner = "github";
15+ repo = "gh-ost";
16+ rev = "v${version}";
17+ inherit sha256;
18+ };
19+
20+ meta = with stdenv.lib; {
21+ description = "Triggerless online schema migration solution for MySQL";
22+ homepage = https://github.com/github/gh-ost;
23+ license = licenses.mit;
24+ platforms = platforms.linux;
25+ };
26+ });
27+}
pkgs/top-level/all-packages.nix+2
@@ -1049,6 +1049,8 @@ with pkgs;
10491049
10501050 genromfs = callPackage ../tools/filesystems/genromfs { };
10511051
1052+ gh-ost = callPackage ../tools/misc/gh-ost { };
1053+
10521054 gist = callPackage ../tools/text/gist { };
10531055
10541056 glide = callPackage ../development/tools/glide { };