summary refs log tree commit diff
diff options
context:
space:
mode:
authorKenny Shen <qoelet@users.noreply.github.com>2018-09-05 05:52:55 +0000
committerxeji <36407913+xeji@users.noreply.github.com>2018-09-05 07:52:55 +0200
commit7e0dd4c261591dabbfa4a6ea345b8c26b74783c2 (patch)
treea7089fc660070e419f3b7450ac4d3ed716660969
parent856b891765374f8321232a79309d06516c6c0758 (diff)
downloadnixlib-7e0dd4c261591dabbfa4a6ea345b8c26b74783c2.tar
nixlib-7e0dd4c261591dabbfa4a6ea345b8c26b74783c2.tar.gz
nixlib-7e0dd4c261591dabbfa4a6ea345b8c26b74783c2.tar.bz2
nixlib-7e0dd4c261591dabbfa4a6ea345b8c26b74783c2.tar.lz
nixlib-7e0dd4c261591dabbfa4a6ea345b8c26b74783c2.tar.xz
nixlib-7e0dd4c261591dabbfa4a6ea345b8c26b74783c2.tar.zst
nixlib-7e0dd4c261591dabbfa4a6ea345b8c26b74783c2.zip
prettyping: init 1.0.1 (#46008)
-rw-r--r--pkgs/tools/networking/prettyping/default.nix25
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/networking/prettyping/default.nix b/pkgs/tools/networking/prettyping/default.nix
new file mode 100644
index 000000000000..36700195a1bd
--- /dev/null
+++ b/pkgs/tools/networking/prettyping/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, lib, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  name = "${program}-${version}";
+  program = "prettyping";
+  version = "1.0.1";
+  src = fetchFromGitHub {
+    owner = "denilsonsa";
+    repo = program;
+    rev = "v${version}";
+    sha256 = "05vfaq9y52z40245j47yjk1xaiwrazv15sgjq64w91dfyahjffxf";
+  };
+
+  installPhase = ''
+    install -Dt $out/bin prettyping
+  '';
+
+  meta = with lib; {
+    homepage = https://github.com/denilsonsa/prettyping;
+    description = "A wrapper around the standard ping tool with the objective of making the output prettier, more colorful, more compact, and easier to read";
+    license = with licenses; [ mit ];
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ qoelet ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 34f8d73f5828..9fab60de0bf7 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4738,6 +4738,8 @@ with pkgs;
 
   pptpd = callPackage ../tools/networking/pptpd {};
 
+  prettyping = callPackage ../tools/networking/prettyping { };
+
   prey-bash-client = callPackage ../tools/security/prey { };
 
   profile-cleaner = callPackage ../tools/misc/profile-cleaner { };