blob: 64b9b7cddfab7abd3665fb0269361b8e96e5d317 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config }:
stdenv.mkDerivation rec {
pname = "ttyplot";
version = "1.6.4";
src = fetchFromGitHub {
owner = "tenox7";
repo = "ttyplot";
rev = version;
hash = "sha256-yxAFqi3TgiKiZYgR891ahkwUqZLk/JDsjujOYmBjUtk=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
ncurses
];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "A 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";
};
}
|