tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
gh-ost: init at 1.0.36
Benjamin Smith
8 years ago
e57deab6
ad7bee4e
+29
2 changed files
expand all
collapse all
unified
split
pkgs
tools
misc
gh-ost
default.nix
top-level
all-packages.nix
+27
pkgs/tools/misc/gh-ost/default.nix
···
1
1
+
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2
2
+
3
3
+
let
4
4
+
goPackagePath = "github.com/github/gh-ost";
5
5
+
version = "1.0.36";
6
6
+
sha256 = "0qa7k50bf87bx7sr6iwqri8l49f811gs0bj3ivslxfibcs1z5d4h";
7
7
+
8
8
+
in {
9
9
+
gh-ost = buildGoPackage ({
10
10
+
name = "gh-ost-${version}";
11
11
+
inherit goPackagePath;
12
12
+
13
13
+
src = fetchFromGitHub {
14
14
+
owner = "github";
15
15
+
repo = "gh-ost";
16
16
+
rev = "v${version}";
17
17
+
inherit sha256;
18
18
+
};
19
19
+
20
20
+
meta = with stdenv.lib; {
21
21
+
description = "Triggerless online schema migration solution for MySQL";
22
22
+
homepage = https://github.com/github/gh-ost;
23
23
+
license = licenses.mit;
24
24
+
platforms = platforms.linux;
25
25
+
};
26
26
+
});
27
27
+
}
+2
pkgs/top-level/all-packages.nix
···
999
999
1000
1000
genromfs = callPackage ../tools/filesystems/genromfs { };
1001
1001
1002
1002
+
gh-ost = callPackage ../tools/misc/gh-ost { };
1003
1003
+
1002
1004
gist = callPackage ../tools/text/gist { };
1003
1005
1004
1006
glide = callPackage ../development/tools/glide { };