Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 753 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 libpcap, 6}: 7 8buildGoModule rec { 9 pname = "lprobe"; 10 version = "0.1.6"; 11 12 src = fetchFromGitHub { 13 owner = "fivexl"; 14 repo = "lprobe"; 15 tag = "v${version}"; 16 hash = "sha256-Cb6jzL/BAhfwvGENLFfphATDz0EjFFT7qeHFiZCrvBk="; 17 }; 18 19 vendorHash = "sha256-wQrbRch+5srZfQgEz7aacfbUXJfHeDCz52pPrgDFaNg="; 20 21 buildInputs = [ 22 libpcap 23 ]; 24 25 meta = { 26 description = "Command-line tool to perform Local Health Check Probes inside Container Images (ECS, Docker)"; 27 homepage = "https://github.com/fivexl/lprobe"; 28 license = lib.licenses.asl20; 29 platforms = lib.platforms.linux ++ lib.platforms.darwin; 30 maintainers = with lib.maintainers; [ cageyv ]; 31 mainProgram = "lprobe"; 32 }; 33}