2022-12-28 21:21:41 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, sqlite }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "vitess";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "20.0.2";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vitessio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-I+pz8bz/H1mg7cQnPiJZxYr1gyzajMLVqg8yHbBXYLc=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
vendorHash = "sha256-ZDPDL7vJoPv5pIS5xhHAgLiZsiF2B85KNnqGQJPk1SQ=";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
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}";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Database clustering system for horizontal scaling of MySQL";
|
2022-12-28 21:21:41 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ urandom ];
|
|
|
|
};
|
|
|
|
}
|