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