at 22.05-pre 48 lines 880 B view raw
1{ alcotest 2, base64 3, bigarray-compat 4, bigarray-overlap 5, bigstringaf 6, buildDunePackage 7, fetchzip 8, fmt 9, jsonm 10, ke 11, lib 12, ptime 13}: 14 15buildDunePackage rec { 16 pname = "prettym"; 17 version = "0.0.2"; 18 19 src = fetchzip { 20 url = "https://github.com/dinosaure/prettym/releases/download/${version}/prettym-${version}.tbz"; 21 sha256 = "03x7jh62mvzc6x2d8xsy456qa6iphw72zm7jmqrakpmsy6zcf2lb"; 22 }; 23 24 useDune2 = true; 25 26 propagatedBuildInputs = [ 27 bigarray-compat 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 = "A 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 = with lib.maintainers; [ ]; 47 }; 48}