From 789154b119d4ada7b51a9bce23258e25353329f6 Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Mon, 4 Feb 2013 10:45:47 +0100 Subject: [PATCH] Add fping, a more scriptable ping --- pkgs/tools/networking/fping/default.nix | 15 +++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/tools/networking/fping/default.nix diff --git a/pkgs/tools/networking/fping/default.nix b/pkgs/tools/networking/fping/default.nix new file mode 100644 index 000000000000..c51c8f59ff76 --- /dev/null +++ b/pkgs/tools/networking/fping/default.nix @@ -0,0 +1,15 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "fping-3.4"; + + src = fetchurl { + url = "http://www.fping.org/dist/${name}.tar.gz"; + sha256 = "1zkawlk6lcqw6nakqnl3v0x1cwnxrx2lmg9q6j76mw9i96pjh9fl"; + }; + + meta = { + homepage = "http://fping.org/"; + description = "A program to send ICMP echo probes to network hosts."; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d65840d153c7..575e903e87c9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -759,6 +759,8 @@ let fox = callPackage ../development/libraries/fox/default.nix { }; fox_1_6 = callPackage ../development/libraries/fox/fox-1.6.nix { }; + fping = callPackage ../tools/networking/fping {}; + fprot = callPackage ../tools/security/fprot { }; freeipmi = callPackage ../tools/system/freeipmi {};