Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
880 B
Nix
41 lines
880 B
Nix
{
|
|
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";
|
|
};
|
|
}
|