diff options
author | Jason O'Conal <lovek323@gmail.com> | 2020-08-31 13:52:28 +0930 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-09-03 11:22:17 +1000 |
commit | 2eacb60353575d49a9a4da29fb382aeea75711a3 (patch) | |
tree | e855305f307c23c986e799ef6638f5ab246ccd49 /pkgs/tools/networking/goreplay | |
parent | 55e8cbd26304ca0d82fd1ae2a53731dc9e1723fe (diff) |
goreplay: init at 1.1.0
Diffstat (limited to 'pkgs/tools/networking/goreplay')
-rw-r--r-- | pkgs/tools/networking/goreplay/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/networking/goreplay/default.nix b/pkgs/tools/networking/goreplay/default.nix new file mode 100644 index 0000000000000..3daa6a983b242 --- /dev/null +++ b/pkgs/tools/networking/goreplay/default.nix @@ -0,0 +1,26 @@ +{ 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 ]; + }; +} |