ocamlPackages.ocolor: init at 1.3.1
This commit is contained in:
parent
e427172547
commit
058d9b8ff5
2 changed files with 32 additions and 0 deletions
30
pkgs/development/ocaml-modules/ocolor/default.nix
Normal file
30
pkgs/development/ocaml-modules/ocolor/default.nix
Normal 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 Format’s semantic tags";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ toastal ];
|
||||||
|
homepage = "https://github.com/marc-chevalier/ocolor";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1294,6 +1294,8 @@ let
|
||||||
|
|
||||||
ocf_ppx = callPackage ../development/ocaml-modules/ocf/ppx.nix { };
|
ocf_ppx = callPackage ../development/ocaml-modules/ocf/ppx.nix { };
|
||||||
|
|
||||||
|
ocolor = callPackage ../development/ocaml-modules/ocolor { };
|
||||||
|
|
||||||
ocp-build = callPackage ../development/tools/ocaml/ocp-build { };
|
ocp-build = callPackage ../development/tools/ocaml/ocp-build { };
|
||||||
|
|
||||||
ocp-indent = callPackage ../development/tools/ocaml/ocp-indent { };
|
ocp-indent = callPackage ../development/tools/ocaml/ocp-indent { };
|
||||||
|
|
Loading…
Reference in a new issue