depot/third_party/nixpkgs/pkgs/tools/security/joincap/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

36 lines
736 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
, libpcap
}:
buildGoModule rec {
pname = "joincap";
version = "0.10.2";
src = fetchFromGitHub {
owner = "assafmo";
repo = "joincap";
rev = "v${version}";
hash = "sha256-Xli9G/VkDWKkc+7mldmLfvigvPPcdcToc4e15uoadDQ=";
};
vendorHash = "sha256-YsLIbt3uiA1d08yIEhSRdep1+52AxRvbIzDHlhc5s7Y=";
buildInputs = [
libpcap
];
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Merge multiple pcap files together, gracefully";
homepage = "https://github.com/assafmo/joincap";
changelog = "https://github.com/assafmo/joincap/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}