Unverified Commit d0b95fe0 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

tcping-rs: init at 1.2.18 (#425909)

parents 7b75c7ba 3d0a214d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+34 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}