1{
2 lib,
3 fetchFromGitHub,
4 buildDunePackage,
5 cppo,
6}:
7
8buildDunePackage rec {
9 pname = "ocolor";
10 version = "1.3.1";
11
12 minimalOCamlVersion = "4.02";
13
14 src = fetchFromGitHub {
15 owner = "marc-chevalier";
16 repo = pname;
17 tag = version;
18 sha256 = "osQTZGJp9yDoKNa6WoyhViNbRg1ukcD0Jxiu4VxqeUc=";
19 };
20
21 nativeBuildInputs = [
22 cppo
23 ];
24
25 meta = {
26 description = "Print with style in your terminal using Format’s semantic tags";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ toastal ];
29 homepage = "https://github.com/marc-chevalier/ocolor";
30 };
31}