1{ stdenv, fetchzip, ocaml, findlib }:
2
3let version = "1.1"; in
4
5stdenv.mkDerivation {
6 name = "ocaml-dolog-${version}";
7 src = fetchzip {
8 url = "https://github.com/UnixJunkie/dolog/archive/v${version}.tar.gz";
9 sha256 = "093lmprb1v2ran3pyymcdq80xnsgdz7h76g764xsy97dba5ik40n";
10 };
11
12 buildInputs = [ ocaml findlib ];
13
14 createFindlibDestdir = true;
15
16 doCheck = true;
17 checkTarget = "test";
18
19 meta = {
20 homepage = https://github.com/UnixJunkie/dolog;
21 description = "Minimalistic lazy logger in OCaml";
22 platforms = ocaml.meta.platforms;
23 license = stdenv.lib.licenses.bsd3;
24 maintainers = with stdenv.lib.maintainers; [ vbgl ];
25 };
26}