nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 37 lines 1.2 kB view raw
1{ stdenv, fetchurl, libev, buildDunePackage, zed, lwt_log, lwt_react }: 2 3buildDunePackage rec { 4 pname = "lambda-term"; 5 version = "2.0.3"; 6 7 src = fetchurl { 8 url = "https://github.com/ocaml-community/lambda-term/releases/download/${version}/lambda-term-${version}.tbz"; 9 sha256 = "1n1b3ffj41a1lm2315hh870yj9h8gg8g9jcxha6dr3xx8r84np3v"; 10 }; 11 12 buildInputs = [ libev ]; 13 propagatedBuildInputs = [ zed lwt_log lwt_react ]; 14 15 meta = { description = "Terminal manipulation library for OCaml"; 16 longDescription = '' 17 Lambda-term is a cross-platform library for 18 manipulating the terminal. It provides an abstraction for keys, 19 mouse events, colors, as well as a set of widgets to write 20 curses-like applications. 21 22 The main objective of lambda-term is to provide a higher level 23 functional interface to terminal manipulation than, for example, 24 ncurses, by providing a native OCaml interface instead of bindings to 25 a C library. 26 27 Lambda-term integrates with zed to provide text edition facilities in 28 console applications. 29 ''; 30 31 homepage = https://github.com/diml/lambda-term; 32 license = stdenv.lib.licenses.bsd3; 33 maintainers = [ 34 stdenv.lib.maintainers.gal_bolle 35 ]; 36 }; 37}