1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-i8soETbTWmFZQqKYcRoLXVIgFCQxHDvXZbJNjDmS8Jo=";
14 vendorHash = "sha256-RNYL5tb6d8NhNiOm3x8sgo1SEc8+uMdWgYor/VL3C6s=";
17 "-X github.com/pingcap/tidb/pkg/parser/mysql.TiDBReleaseVersion=${version}"
18 "-X github.com/pingcap/tidb/pkg/util/versioninfo.TiDBEdition=Community"
21 subPackages = [ "cmd/tidb-server" ];
24 description = "Open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics";
25 homepage = "https://pingcap.com";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ Makuru ];
28 mainProgram = "tidb-server";