nixpkgs/pkgs/by-name/jo/joincap/package.nix
Fabian Affolter a41a81b3fd
joincap: refactor
- update changelog URL
2024-11-15 09:34:19 +01:00

37 lines
776 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
libpcap,
}:
buildGoModule rec {
pname = "joincap";
version = "0.11.0";
src = fetchFromGitHub {
owner = "assafmo";
repo = "joincap";
rev = "refs/tags/v${version}";
hash = "sha256-HvqtAno26ZSggiXbQpkw5ghxCrmmLb5uDdeSQ2QVeq0=";
};
vendorHash = "sha256-pIu/f7hpSUJG5az7sV9tlXJfIjVT37bTV49kTkR80ek=";
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/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "joincap";
};
}