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