2018-09-05 05:52:55 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-29 18:24:13 +00:00
|
|
|
pname = "prettyping";
|
2018-09-05 05:52:55 +00:00
|
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "denilsonsa";
|
2021-11-29 18:24:13 +00:00
|
|
|
repo = pname;
|
2018-09-05 05:52:55 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "05vfaq9y52z40245j47yjk1xaiwrazv15sgjq64w91dfyahjffxf";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dt $out/bin prettyping
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/denilsonsa/prettyping";
|
2018-09-05 05:52:55 +00:00
|
|
|
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 ];
|
2019-10-07 04:22:31 +00:00
|
|
|
platforms = platforms.unix;
|
2018-09-05 05:52:55 +00:00
|
|
|
maintainers = with maintainers; [ qoelet ];
|
|
|
|
};
|
|
|
|
}
|