ocamlPackages.ocolor: init at 1.3.1

This commit is contained in:
toastal 2023-09-25 23:34:38 +07:00 committed by Vincent Laporte
parent e427172547
commit 058d9b8ff5
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ 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 Formats semantic tags";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ toastal ];
homepage = "https://github.com/marc-chevalier/ocolor";
};
}

View file

@ -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 { };