2022-12-28 21:21:41 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, sqlite }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "vitess";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "17.0.0";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vitessio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-J/lvOP8MsHOWnq7kKRqIktME0ewtilkyOv8pD1wSnPc=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "sha256-QcCgDOqKSI+NPCdQJY4v6qU31nLQPIF8fs2qkLOk+DU=";
|
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}";
|
|
|
|
description = "A database clustering system for horizontal scaling of MySQL";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ urandom ];
|
|
|
|
};
|
|
|
|
}
|