Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

gh-ost: init at 1.0.36

+29
+27
pkgs/tools/misc/gh-ost/default.nix
··· 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 + }
+2
pkgs/top-level/all-packages.nix
··· 999 999 1000 1000 genromfs = callPackage ../tools/filesystems/genromfs { }; 1001 1001 1002 + gh-ost = callPackage ../tools/misc/gh-ost { }; 1003 + 1002 1004 gist = callPackage ../tools/text/gist { }; 1003 1005 1004 1006 glide = callPackage ../development/tools/glide { };