1{ lib, stdenv, fetchurl, ncurses }:
2
3stdenv.mkDerivation rec {
4 pname = "rote";
5 version = "0.2.8";
6
7 src = fetchurl {
8 sha256 = "05v1lw99jv4cwxl7spyi7by61j2scpdsvx809x5cga7dm5dhlmky";
9 url = "mirror://sourceforge/rote/${pname}-${version}.tar.gz";
10 };
11
12 buildInputs = [ ncurses ];
13
14 enableParallelBuilding = true;
15
16 meta = with lib; {
17 description = "Our Own Terminal Emulation Library";
18 mainProgram = "rote-config";
19 longDescription = ''
20 ROTE is a simple C library for VT102 terminal emulation. It allows the
21 programmer to set up virtual 'screens' and send them data. The virtual
22 screens will emulate the behavior of a VT102 terminal, interpreting
23 escape sequences, control characters and such. The library supports
24 ncurses as well so that you may render the virtual screen to the real
25 screen when you need to.
26 '';
27 homepage = "https://rote.sourceforge.net/";
28 license = licenses.lgpl21;
29 platforms = platforms.linux;
30 };
31}