Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 longDescription = '' 19 ROTE is a simple C library for VT102 terminal emulation. It allows the 20 programmer to set up virtual 'screens' and send them data. The virtual 21 screens will emulate the behavior of a VT102 terminal, interpreting 22 escape sequences, control characters and such. The library supports 23 ncurses as well so that you may render the virtual screen to the real 24 screen when you need to. 25 ''; 26 homepage = "https://rote.sourceforge.net/"; 27 license = licenses.lgpl21; 28 platforms = platforms.linux; 29 }; 30}