summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ansiterminal/default.nix
blob: edd40fb4df29be172b2135efeb5c9f571eaa38c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, buildDunePackage, fetchFromGitHub }:

buildDunePackage rec {
  pname = "ANSITerminal";
  version = "0.8.2";

  useDune2 = true;

  src = fetchFromGitHub {
    owner = "Chris00";
    repo = pname;
    rev = version;
    sha256 = "0dyjischrgwlxqz1p5zbqq76jvk6pl1qj75i7ydhijssr9pj278d";
  };

  doCheck = true;

  meta = with lib; {
    description = "A module allowing to use the colors and cursor movements on ANSI terminals";
    longDescription = ''
      ANSITerminal is a module allowing to use the colors and cursor
      movements on ANSI terminals. It also works on the windows shell (but
      this part is currently work in progress).
    '';
    inherit (src.meta) homepage;
    license = licenses.lgpl3;
    maintainers = [ maintainers.jirkamarsik ];
  };
}