diff options
author | Florentin Eckl <ecklf@icloud.com> | 2024-02-15 23:10:54 +0100 |
---|---|---|
committer | Florentin Eckl <ecklf@icloud.com> | 2024-02-15 23:10:54 +0100 |
commit | 1122f53814335a328caa493ffacc0e5a9607a571 (patch) | |
tree | 6186f93cadba8f51b0886c75856cff681f4fe0ee /pkgs/by-name/pl/plow | |
parent | b070866917f78dbc64f5f13d6afcabc5122abab5 (diff) |
plow: init at 1.3.1
Diffstat (limited to 'pkgs/by-name/pl/plow')
-rw-r--r-- | pkgs/by-name/pl/plow/package.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/by-name/pl/plow/package.nix b/pkgs/by-name/pl/plow/package.nix new file mode 100644 index 0000000000000..237b889c71e03 --- /dev/null +++ b/pkgs/by-name/pl/plow/package.nix @@ -0,0 +1,30 @@ +{ 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"; + }; +} |