nixpkgs/pkgs/by-name/lp/lprobe/package.nix
2024-11-10 14:37:35 +00:00

34 lines
765 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
libpcap,
}:
buildGoModule rec {
pname = "lprobe";
version = "0.1.4";
src = fetchFromGitHub {
owner = "fivexl";
repo = "lprobe";
rev = "refs/tags/v${version}";
hash = "sha256-WC0MDTyd5tRtSQ1LQsYJgV9CwJwtvnIO6tQnPrjpfcY=";
};
vendorHash = "sha256-Ot9eePv/bjOZJfOjTCOJGXCaM8hoO4ZUPrpec8lT/JY=";
buildInputs = [
libpcap
];
meta = {
description = "A command-line tool to perform Local Health Check Probes inside Container Images (ECS, Docker)";
homepage = "https://github.com/fivexl/lprobe";
license = lib.licenses.asl20;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [ cageyv ];
mainProgram = "lprobe";
};
}