Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
880 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
testers,
plow,
}:
buildGoModule rec {
pname = "plow";
version = "1.3.2";
src = fetchFromGitHub {
owner = "six-ddc";
repo = "plow";
tag = "v${version}";
hash = "sha256-q9k5GzhYPOP8p8VKrqpoHc3B9Qak+4DtZAZZuFlkED0=";
};
vendorHash = "sha256-KfnDJI6M6tzfoI7krKId5FXUw27eV6cEoz3UaNrlXWk=";
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
];
passthru.tests.version = testers.testVersion {
package = plow;
};
meta = {
description = "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 = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ecklf ];
mainProgram = "plow";
};
}