nixpkgs/pkgs/by-name/lp/lprobe/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
765 B
Nix
Raw Normal View History

{
lib,
buildGoModule,
fetchFromGitHub,
libpcap,
}:
buildGoModule rec {
pname = "lprobe";
2024-11-10 14:37:35 +00:00
version = "0.1.4";
src = fetchFromGitHub {
owner = "fivexl";
repo = "lprobe";
rev = "refs/tags/v${version}";
2024-11-10 14:37:35 +00:00
hash = "sha256-WC0MDTyd5tRtSQ1LQsYJgV9CwJwtvnIO6tQnPrjpfcY=";
};
2024-11-10 14:37:35 +00:00
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";
};
}