Unverified Commit 41ec6704 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

go-tpc: init 1.0.12 (#504341)

parents 8ea17823 4b86011d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -15559,6 +15559,11 @@
    github = "ljxfstorm";
    githubId = 7077478;
  };
  lks = {
    name = "Lukas";
    github = "1H0";
    githubId = 37246258;
  };
  llakala = {
    email = "elevenaka11@gmail.com";
    github = "llakala";
+33 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule (finalAttrs: {
  pname = "go-tpc";
  version = "1.0.12";

  src = fetchFromGitHub {
    owner = "pingcap";
    repo = "go-tpc";
    tag = "v${finalAttrs.version}";
    hash = "sha256-O+zHHSjucFh8T42P/IQAA993DmskJfoo1WdO8T95I88=";
  };

  vendorHash = "sha256-JInXHnHW5jfKism5OscYSJJjBBB7URYLSVpo4EJ/HAs=";

  ldflags = [
    "-s"
    "-w"
    "-X 'main.version=${finalAttrs.version}'"
  ];

  meta = {
    description = "Toolbox to benchmark TPC workloads in Go";
    homepage = "https://github.com/pingcap/go-tpc";
    license = lib.licenses.asl20;
    mainProgram = "go-tpc";
    maintainers = with lib.maintainers; [ lks ];
  };
})