mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
commit
e913ae3400
@ -2,25 +2,23 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "tidb";
|
||||
version = "7.4.0";
|
||||
version = "8.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pingcap";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-OsyQ7YZjErjfWg/1wf21AxBu2wrotey8hJSzoQQ0OSc=";
|
||||
sha256 = "sha256-i8soETbTWmFZQqKYcRoLXVIgFCQxHDvXZbJNjDmS8Jo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-jtuf3/CClz37TTQ2zs49yryccoaraAG4UrIOIlBYFqQ=";
|
||||
vendorHash = "sha256-RNYL5tb6d8NhNiOm3x8sgo1SEc8+uMdWgYor/VL3C6s=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/pingcap/tidb/dumpling/cli.ReleaseVersion=${version}"
|
||||
"-X github.com/pingcap/tidb/util/versioninfo.TiDBEdition=Community"
|
||||
"-X github.com/pingcap/tidb/pkg/parser/mysql.TiDBReleaseVersion=${version}"
|
||||
"-X github.com/pingcap/tidb/pkg/util/versioninfo.TiDBEdition=Community"
|
||||
];
|
||||
|
||||
subPackages = [ "tidb-server" ];
|
||||
subPackages = [ "cmd/tidb-server" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics";
|
||||
|
Loading…
Reference in New Issue
Block a user