nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildDunePackage,
5 zed,
6 lwt_log,
7 lwt_react,
8 mew_vi,
9 uucp,
10 logs,
11}:
12
13buildDunePackage (finalAttrs: {
14 pname = "lambda-term";
15 version = "3.3.2";
16
17 src = fetchFromGitHub {
18 owner = "ocaml-community";
19 repo = "lambda-term";
20 tag = finalAttrs.version;
21 hash = "sha256-T2DDpHqLar1sgmju0PLvhAZef5VzOpPWcFVhuZlPQmM=";
22 };
23
24 propagatedBuildInputs = [
25 zed
26 lwt_log
27 lwt_react
28 mew_vi
29 uucp
30 logs
31 ];
32
33 meta = {
34 description = "Terminal manipulation library for OCaml";
35 longDescription = ''
36 Lambda-term is a cross-platform library for
37 manipulating the terminal. It provides an abstraction for keys,
38 mouse events, colors, as well as a set of widgets to write
39 curses-like applications.
40
41 The main objective of lambda-term is to provide a higher level
42 functional interface to terminal manipulation than, for example,
43 ncurses, by providing a native OCaml interface instead of bindings to
44 a C library.
45
46 Lambda-term integrates with zed to provide text edition facilities in
47 console applications.
48 '';
49
50 homepage = "https://github.com/ocaml-community/lambda-term";
51 license = lib.licenses.bsd3;
52 maintainers = [ lib.maintainers.gal_bolle ];
53 mainProgram = "lambda-term-actions";
54 };
55})