1{
2 alcotest,
3 base64,
4 bigarray-overlap,
5 bigstringaf,
6 buildDunePackage,
7 fetchurl,
8 fmt,
9 jsonm,
10 ke,
11 lib,
12 ptime,
13}:
14
15buildDunePackage rec {
16 pname = "prettym";
17 version = "0.0.3";
18
19 src = fetchurl {
20 url = "https://github.com/dinosaure/prettym/releases/download/${version}/prettym-${version}.tbz";
21 hash = "sha256-kXDxoRref02YpYSlvlK7a5FBX5ccbnWJQzG0axi5jwk=";
22 };
23
24 duneVersion = "3";
25 minimalOCamlVersion = "4.08";
26
27 propagatedBuildInputs = [
28 bigarray-overlap
29 bigstringaf
30 fmt
31 ke
32 ];
33
34 checkInputs = [
35 ptime
36 alcotest
37 jsonm
38 base64
39 ];
40 doCheck = true;
41
42 meta = {
43 description = "Simple bounded encoder to serialize human readable values and respect the 80-column constraint";
44 license = lib.licenses.mit;
45 homepage = "https://github.com/dinosaure/prettym";
46 maintainers = [ ];
47 };
48}