Unverified Commit 1951a5c9 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

runn: init at 1.2.0 (#476515)

parents b555ba96 75406123
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -25754,6 +25754,12 @@
    github = "takeda";
    githubId = 411978;
  };
  takeokunn = {
    email = "bararararatty@gmail.com";
    github = "takeokunn";
    githubId = 11222510;
    name = "Takeo Obara";
  };
  taketwo = {
    email = "alexandrov88@gmail.com";
    github = "taketwo";
+42 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
  nix-update-script,
}:

buildGoModule (finalAttrs: {
  pname = "runn";
  version = "1.2.0";

  src = fetchFromGitHub {
    owner = "k1LoW";
    repo = "runn";
    tag = "v${finalAttrs.version}";
    hash = "sha256-rwKz/jFkmB7F4CoeRPgCBCvls3ovEdp907G3NzcY9tY=";
  };

  vendorHash = "sha256-XFPiTyOoFfbfkhE/UekulsUc2lwoVJskO8ZxcBmiOU0=";

  subPackages = [ "cmd/runn" ];

  ldflags = [
    "-s"
    "-w"
    "-X github.com/k1LoW/runn/version.Version=${finalAttrs.version}"
  ];

  # Tests require external services (PostgreSQL, MySQL, Chrome, gRPC)
  doCheck = false;

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Scenario-based testing tool for APIs, databases, and more";
    homepage = "https://github.com/k1LoW/runn";
    changelog = "https://github.com/k1LoW/runn/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ takeokunn ];
    mainProgram = "runn";
  };
})