mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
29 lines
660 B
Nix
29 lines
660 B
Nix
{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ttyplot";
|
|
version = "1.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tenox7";
|
|
repo = "ttyplot";
|
|
rev = version;
|
|
hash = "sha256-SQ5keCcwzQsSxfSevQwRa1eNf+8JXsrh1vljehI4tPc=";
|
|
};
|
|
|
|
buildInputs = [
|
|
pkg-config
|
|
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;
|
|
maintainers = with maintainers; [ lassulus ];
|
|
mainProgram = "ttyplot";
|
|
};
|
|
}
|