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

27 lines
704 B

{ stdenv, buildGoPackage, fetchFromGitHub, libpcap }:
buildGoPackage rec {
pname = "goreplay";
version = "1.1.0";
rev = "v${version}";
goPackagePath = "github.com/buger/goreplay";
src = fetchFromGitHub {
inherit rev;
owner = "buger";
repo = "goreplay";
sha256 = "07nsrx5hwmk6l8bqp48gqk40i9bxf0g4fbmpqbngx6j5f7lpbk2n";
};
buildInputs = [ libpcap ];
meta = {
homepage = "https://github.com/buger/goreplay";
license = stdenv.lib.licenses.lgpl3Only;
description = "GoReplay is an open-source tool for capturing and replaying live HTTP traffic";
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
};
}