Commit 058d9b8f authored by toastal's avatar toastal Committed by Vincent Laporte
Browse files

ocamlPackages.ocolor: init at 1.3.1

parent e4271725
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, buildDunePackage
, cppo
}:

buildDunePackage rec {
  pname = "ocolor";
  version = "1.3.1";

  minimalOCamlVersion = "4.02";

  src = fetchFromGitHub {
    owner = "marc-chevalier";
    repo = pname;
    rev = "refs/tags/${version}";
    sha256 = "osQTZGJp9yDoKNa6WoyhViNbRg1ukcD0Jxiu4VxqeUc=";
  };

  nativeBuildInputs = [
    cppo
  ];

  meta = {
    description = "Print with style in your terminal using Format’s semantic tags";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ toastal ];
    homepage = "https://github.com/marc-chevalier/ocolor";
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1294,6 +1294,8 @@ let

    ocf_ppx = callPackage ../development/ocaml-modules/ocf/ppx.nix { };

    ocolor = callPackage ../development/ocaml-modules/ocolor { };

    ocp-build = callPackage ../development/tools/ocaml/ocp-build { };

    ocp-indent = callPackage ../development/tools/ocaml/ocp-indent { };