mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #26313 from polynomial/gh-ost
gh-ost: init at 1.0.36
This commit is contained in:
commit
6dc4d7445c
2 changed files with 29 additions and 0 deletions
27
pkgs/tools/misc/gh-ost/default.nix
Normal file
27
pkgs/tools/misc/gh-ost/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
goPackagePath = "github.com/github/gh-ost";
|
||||
version = "1.0.36";
|
||||
sha256 = "0qa7k50bf87bx7sr6iwqri8l49f811gs0bj3ivslxfibcs1z5d4h";
|
||||
|
||||
in {
|
||||
gh-ost = 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;
|
||||
};
|
||||
});
|
||||
}
|
|
@ -1049,6 +1049,8 @@ with pkgs;
|
|||
|
||||
genromfs = callPackage ../tools/filesystems/genromfs { };
|
||||
|
||||
gh-ost = callPackage ../tools/misc/gh-ost { };
|
||||
|
||||
gist = callPackage ../tools/text/gist { };
|
||||
|
||||
glide = callPackage ../development/tools/glide { };
|
||||
|
|
Loading…
Reference in a new issue