mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
25 lines
703 B
Nix
25 lines
703 B
Nix
{ stdenv, lib, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "prettyping";
|
|
version = "1.0.1";
|
|
src = fetchFromGitHub {
|
|
owner = "denilsonsa";
|
|
repo = pname;
|
|
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 ];
|
|
};
|
|
}
|