diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/prettyping/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/networking/prettyping/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/networking/prettyping/default.nix b/nixpkgs/pkgs/tools/networking/prettyping/default.nix new file mode 100644 index 00000000000..fb0508b3c90 --- /dev/null +++ b/nixpkgs/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.unix; + maintainers = with maintainers; [ qoelet ]; + }; +} |