depot/third_party/nixpkgs/pkgs/development/tools/database/vitess/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

30 lines
794 B
Nix

{ lib, buildGoModule, fetchFromGitHub, sqlite }:
buildGoModule rec {
pname = "vitess";
version = "16.0.1";
src = fetchFromGitHub {
owner = "vitessio";
repo = pname;
rev = "v${version}";
hash = "sha256-2iy80Ac8yh7lTiM53qXygVX/n3r2C/MmijoQRXIhoRk=";
};
vendorHash = "sha256-hC0skrEDXn6SXjH75ur77I0pHnGSURErAy97lmVvqro=";
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 ];
};
}