diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 44ffa4066a20..cb135aa72ded 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -10138,6 +10138,12 @@ githubId = 44377258; name = "Heitor Augusto"; }; + heitorPB = { + email = "heitorpbittencourt@gmail.com"; + github = "heitorPB"; + githubId = 13461702; + name = "Heitor Pascoal de Bittencourt"; + }; hekazu = { name = "Henri Peurasaari"; email = "henri.peurasaari@helsinki.fi"; diff --git a/pkgs/by-name/tc/tcping-rs/package.nix b/pkgs/by-name/tc/tcping-rs/package.nix new file mode 100644 index 000000000000..ed6387ea07ff --- /dev/null +++ b/pkgs/by-name/tc/tcping-rs/package.nix @@ -0,0 +1,34 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + nix-update-script, +}: +rustPlatform.buildRustPackage rec { + pname = "tcping-rs"; + version = "1.2.18"; + + src = fetchFromGitHub { + owner = "lvillis"; + repo = "tcping-rs"; + tag = version; + hash = "sha256-G9LZ9XlIl/JYji/GgznQnIbnV83qi9kZqCkaZJ0kENI="; + }; + + cargoHash = "sha256-INbXvNfn3vmXzZgaDUwl1wgbQ2wVQcCP0ZV2dpZedQY="; + + 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 ]; + }; +}