depot/third_party/nixpkgs/pkgs/development/tools/database/vitess/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

30 lines
794 B
Nix

{ lib, buildGoModule, fetchFromGitHub, sqlite }:
buildGoModule rec {
pname = "vitess";
version = "17.0.2";
src = fetchFromGitHub {
owner = "vitessio";
repo = pname;
rev = "v${version}";
hash = "sha256-uST+FtYhGIn/Tieyofbh2r8xonw8qsS6ODrpd/A27r4=";
};
vendorHash = "sha256-0OrPbMG7ElOD+9/kWx1HtvGUBiFpIsNs5Vu7QofzE6Q=";
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 ];
};
}