Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Added ansiterminal-0.6.5

+36
+34
pkgs/development/ocaml-modules/ansiterminal/default.nix
··· 1 + { stdenv, fetchurl, ocaml, findlib }: 2 + 3 + stdenv.mkDerivation { 4 + 5 + name = "ansiterminal-0.6.5"; 6 + 7 + src = fetchurl { 8 + url = "https://forge.ocamlcore.org/frs/download.php/1206/ANSITerminal-0.6.5.tar.gz"; 9 + sha256 = "1j9kflv2i16vf9hy031cl6z8hv6791mjbhnd9bw07y1pswdlx1r6"; 10 + }; 11 + 12 + buildInputs = [ ocaml findlib ]; 13 + 14 + configurePhase = "ocaml setup.ml -configure --prefix $out"; 15 + 16 + buildPhase = "ocaml setup.ml -build"; 17 + 18 + installPhase = "ocaml setup.ml -install"; 19 + 20 + createFindlibDestdir = true; 21 + 22 + meta = with stdenv.lib; { 23 + homepage = "https://forge.ocamlcore.org/projects/ansiterminal"; 24 + description = "A module allowing to use the colors and cursor movements on ANSI terminals"; 25 + longDescription = '' 26 + ANSITerminal is a module allowing to use the colors and cursor 27 + movements on ANSI terminals. It also works on the windows shell (but 28 + this part is currently work in progress). 29 + ''; 30 + license = licenses.lgpl3; 31 + platforms = ocaml.meta.platforms; 32 + maintainers = [ maintainers.jirkamarsik ]; 33 + }; 34 + }
+2
pkgs/top-level/all-packages.nix
··· 3444 3444 in rec { 3445 3445 inherit ocaml; 3446 3446 3447 + ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { }; 3448 + 3447 3449 camlidl = callPackage ../development/tools/ocaml/camlidl { }; 3448 3450 3449 3451 camlp4 =