Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
790 B
Nix
35 lines
790 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "tcping-rs";
|
|
version = "1.2.19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lvillis";
|
|
repo = "tcping-rs";
|
|
tag = version;
|
|
hash = "sha256-I7rcIemdPGFPBeOoIRft0tq49ikDs49UH5sEobL6fOA=";
|
|
};
|
|
|
|
cargoHash = "sha256-k+Hm6dHy6igk1deeVrWrAOdhlz0h/jen6pVNaGvB7Ak=";
|
|
|
|
checkFlags = [
|
|
# This test requires external network access
|
|
"--skip=resolve_domain"
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "TCP Ping (tcping) Utility for Port Reachability";
|
|
homepage = "https://github.com/lvillis/tcping-rs";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "tcping";
|
|
maintainers = with lib.maintainers; [ heitorPB ];
|
|
};
|
|
}
|