My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/networking/goreplay/default.nix

29 lines
711 B

{ lib, buildGoModule, fetchFromGitHub, libpcap }:
buildGoModule rec {
pname = "goreplay";
version = "1.3.3";
src = fetchFromGitHub {
owner = "buger";
repo = "goreplay";
rev = version;
sha256 = "sha256-FiY9e5FgpPu+K8eoO8TsU3xSaSoPPDxYEu0oi/S8Q1w=";
};
vendorSha256 = "sha256-jDMAtcq3ZowFdky5BdTkVNxq4ltkhklr76nXYJgGALg=";
ldflags = [ "-s" "-w" ];
buildInputs = [ libpcap ];
doCheck = false;
meta = {
homepage = "https://github.com/buger/goreplay";
license = lib.licenses.lgpl3Only;
description = "Open-source tool for capturing and replaying live HTTP traffic";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ lovek323 ];
};
}