Merge pull request #173125 from aaronjheng/goreplay

goreplay: 1.1.0 -> 1.3.3
main
Mario Rodas 2 years ago committed by GitHub
commit 08318a3b3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      pkgs/tools/networking/goreplay/default.nix

@ -1,21 +1,24 @@
{ lib, buildGoPackage, fetchFromGitHub, libpcap }: { lib, buildGoModule, fetchFromGitHub, libpcap }:
buildGoPackage rec { buildGoModule rec {
pname = "goreplay"; pname = "goreplay";
version = "1.1.0"; version = "1.3.3";
rev = "v${version}";
goPackagePath = "github.com/buger/goreplay";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev; owner = "buger";
owner = "buger"; repo = "goreplay";
repo = "goreplay"; rev = version;
sha256 = "07nsrx5hwmk6l8bqp48gqk40i9bxf0g4fbmpqbngx6j5f7lpbk2n"; sha256 = "sha256-FiY9e5FgpPu+K8eoO8TsU3xSaSoPPDxYEu0oi/S8Q1w=";
}; };
vendorSha256 = "sha256-jDMAtcq3ZowFdky5BdTkVNxq4ltkhklr76nXYJgGALg=";
ldflags = [ "-s" "-w" ];
buildInputs = [ libpcap ]; buildInputs = [ libpcap ];
doCheck = false;
meta = { meta = {
homepage = "https://github.com/buger/goreplay"; homepage = "https://github.com/buger/goreplay";
license = lib.licenses.lgpl3Only; license = lib.licenses.lgpl3Only;

Loading…
Cancel
Save