tailscale: build derpprobe (#364918)
[NixPkgs.git] / pkgs / development / ocaml-modules / prettym / default.nix
bloba5e93870ff98df4f8e6eb4ff681bb17922fcde5c
2   alcotest,
3   base64,
4   bigarray-overlap,
5   bigstringaf,
6   buildDunePackage,
7   fetchurl,
8   fmt,
9   jsonm,
10   ke,
11   lib,
12   ptime,
15 buildDunePackage rec {
16   pname = "prettym";
17   version = "0.0.3";
19   src = fetchurl {
20     url = "https://github.com/dinosaure/prettym/releases/download/${version}/prettym-${version}.tbz";
21     hash = "sha256-kXDxoRref02YpYSlvlK7a5FBX5ccbnWJQzG0axi5jwk=";
22   };
24   duneVersion = "3";
25   minimalOCamlVersion = "4.08";
27   propagatedBuildInputs = [
28     bigarray-overlap
29     bigstringaf
30     fmt
31     ke
32   ];
34   checkInputs = [
35     ptime
36     alcotest
37     jsonm
38     base64
39   ];
40   doCheck = true;
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   };