Unverified Commit eb0e4642 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #288643 from ecklf/ecklf/add-plow

plow: init at 1.3.1
parents 96ee8d4c 1122f538
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5332,6 +5332,12 @@
    githubId = 7875;
    name = "Rommel Martinez";
  };
  ecklf = {
    email = "ecklf@icloud.com";
    github = "ecklf";
    githubId = 8146736;
    name = "Florentin Eckl";
  };
  eclairevoyant = {
    github = "eclairevoyant";
    githubId = 848000;
+30 −0
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub, testers, plow }:

buildGoModule rec {
  pname = "plow";
  version = "1.3.1";

  src = fetchFromGitHub {
    owner = "six-ddc";
    repo = "plow";
    rev = "refs/tags/v${version}";
    hash = "sha256-TynFq7e4MtZlA5SmGMybhmCVw67yHYgZWffQjuyhTDA=";
  };

  vendorHash = "sha256-t2lBPyCn8bu9hLsWmaCGir9egbX0mQR+8kB0RfY7nHE=";

  ldflags = [ "-s" "-w" ];

  passthru.tests.version = testers.testVersion {
    package = plow;
  };

  meta = with lib; {
    description = "A high-performance HTTP benchmarking tool that includes a real-time web UI and terminal display";
    homepage = "https://github.com/six-ddc/plow";
    changelog = "https://github.com/six-ddc/plow/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ ecklf ];
    mainProgram = "plow";
  };
}