nixpkgs/pkgs/tools/misc/ttyplot/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

33 lines
719 B
Nix

{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config }:
stdenv.mkDerivation rec {
pname = "ttyplot";
version = "1.6.5";
src = fetchFromGitHub {
owner = "tenox7";
repo = "ttyplot";
rev = version;
hash = "sha256-DLFEnEo+EQuq4ziqo9qfyHGD1Zosk9Kb/80QjnI2aXk=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
ncurses
];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Simple general purpose plotting utility for tty with data input from stdin";
homepage = "https://github.com/tenox7/ttyplot";
license = licenses.asl20;
platforms = platforms.all;
maintainers = with maintainers; [ lassulus ];
mainProgram = "ttyplot";
};
}