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