blob: ef842ec7318f23297aa8cd961ef580f19211047f (
plain) (
blame)
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
|
{ lib, fetchurl, buildDunePackage
, logs, fmt, ptime, mirage-clock, cmdliner
, lwt, alcotest
}:
buildDunePackage rec {
pname = "mirage-logs";
version = "2.1.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-logs/releases/download/v${version}/mirage-logs-${version}.tbz";
hash = "sha256-rorCsgw7QCQmjotr465KShQGWdoUM88djpwgqwBGnLs=";
};
propagatedBuildInputs = [ logs fmt ptime mirage-clock cmdliner ];
doCheck = true;
checkInputs = [ lwt alcotest ];
meta = {
description = "Reporter for the Logs library that writes log messages to stderr, using a Mirage `CLOCK` to add timestamps";
homepage = "https://github.com/mirage/mirage-logs";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
|