Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
802 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}