summary refs log tree commit diff
path: root/pkgs/tools/networking/prettyping/default.nix
blob: 43f32ddb9fb4143a252d1915abea16e7b56d5b38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.unix;
    maintainers = with maintainers; [ qoelet ];
  };
}