mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
31 lines
838 B
Nix
31 lines
838 B
Nix
{ 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 = "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";
|
|
};
|
|
}
|