depot/third_party/nixpkgs/pkgs/tools/security/joincap/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

37 lines
765 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";
mainProgram = "joincap";
homepage = "https://github.com/assafmo/joincap";
changelog = "https://github.com/assafmo/joincap/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}