2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub, libpcap }:
|
2020-08-31 06:22:28 +02:00
|
|
|
|
|
|
|
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";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.lgpl3Only;
|
2020-10-26 05:08:40 +01:00
|
|
|
description = "Open-source tool for capturing and replaying live HTTP traffic";
|
2021-01-15 10:19:50 +01:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ lovek323 ];
|
2020-08-31 06:22:28 +02:00
|
|
|
};
|
|
|
|
}
|