nixpkgs/pkgs/tools/misc/ttyplot/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
660 B
Nix
Raw Normal View History

2024-01-12 22:25:55 +00:00
{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config }:
2018-10-15 20:03:17 +00:00
stdenv.mkDerivation rec {
pname = "ttyplot";
2024-01-12 22:25:55 +00:00
version = "1.6.1";
2018-10-15 20:03:17 +00:00
src = fetchFromGitHub {
owner = "tenox7";
repo = "ttyplot";
rev = version;
2024-01-12 22:25:55 +00:00
hash = "sha256-SQ5keCcwzQsSxfSevQwRa1eNf+8JXsrh1vljehI4tPc=";
2018-10-15 20:03:17 +00:00
};
2024-01-12 22:25:55 +00:00
buildInputs = [
pkg-config
ncurses
];
2018-10-15 20:03:17 +00:00
2024-01-12 22:25:55 +00:00
makeFlags = [ "PREFIX=$(out)" ];
2018-10-15 20:03:17 +00:00
meta = with lib; {
description = "A simple general purpose plotting utility for tty with data input from stdin";
homepage = "https://github.com/tenox7/ttyplot";
2024-01-12 22:25:55 +00:00
license = licenses.asl20;
2018-10-15 20:03:17 +00:00
maintainers = with maintainers; [ lassulus ];
2023-11-27 01:17:53 +00:00
mainProgram = "ttyplot";
2018-10-15 20:03:17 +00:00
};
}