36 lines
802 B
Nix
36 lines
802 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
sqlite,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "vitess";
|
|
version = "22.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vitessio";
|
|
repo = "vitess";
|
|
rev = "v${version}";
|
|
hash = "sha256-VZ5i6ovvgPEASS2SMuSiht7OJXBxgXp/6Zw1dvO5lpk=";
|
|
};
|
|
|
|
vendorHash = "sha256-0rgosDZn/DZcEK8f1JE2ICiOQX1GU2H93EEAlvesNE8=";
|
|
|
|
buildInputs = [ sqlite ];
|
|
|
|
subPackages = [ "go/cmd/..." ];
|
|
|
|
# integration tests require access to syslog and root
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
homepage = "https://vitess.io/";
|
|
changelog = "https://github.com/vitessio/vitess/releases/tag/v${version}";
|
|
description = "Database clustering system for horizontal scaling of MySQL";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ urandom ];
|
|
};
|
|
}
|