nixpkgs/pkgs/tools/networking/prettyping/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

26 lines
733 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 = "Wrapper around the standard ping tool with the objective of making the output prettier, more colorful, more compact, and easier to read";
mainProgram = "prettyping";
license = with licenses; [ mit ];
platforms = platforms.unix;
maintainers = with maintainers; [ qoelet ];
};
}