mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
goreplay: init at 1.1.0
This commit is contained in:
parent
55e8cbd263
commit
2eacb60353
2 changed files with 28 additions and 0 deletions
26
pkgs/tools/networking/goreplay/default.nix
Normal file
26
pkgs/tools/networking/goreplay/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -4062,6 +4062,8 @@ in
|
|||
|
||||
gopro = callPackage ../tools/video/gopro { };
|
||||
|
||||
goreplay = callPackage ../tools/networking/goreplay { };
|
||||
|
||||
gource = callPackage ../applications/version-management/gource { };
|
||||
|
||||
govc = callPackage ../tools/virtualization/govc { };
|
||||
|
|
Loading…
Reference in a new issue