e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
30 lines
794 B
Nix
30 lines
794 B
Nix
{ lib, buildGoModule, fetchFromGitHub, sqlite }:
|
|
|
|
buildGoModule rec {
|
|
pname = "vitess";
|
|
version = "18.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vitessio";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-CKhnP6sTw7rNzqMhJpwuYhoc5F3MNnL58JxnoKPHyl0=";
|
|
};
|
|
|
|
vendorHash = "sha256-FwgKsv5fQSWKa2K2djEwd7lnbE2qtADoiIokR9U5t1k=";
|
|
|
|
buildInputs = [ sqlite ];
|
|
|
|
subPackages = [ "go/cmd/..." ];
|
|
|
|
# integration tests require access to syslog and root
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://vitess.io/";
|
|
changelog = "https://github.com/vitessio/vitess/releases/tag/v${version}";
|
|
description = "A database clustering system for horizontal scaling of MySQL";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ urandom ];
|
|
};
|
|
}
|