2021-01-15 22:18:51 +00:00
|
|
|
{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let version = "3.0"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "ocaml-dolog";
|
|
|
|
inherit version;
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/UnixJunkie/dolog/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "0gx2s4509vkkkaikl2yp7k5x7bqv45s1y1vsy408d8rakd7yl1zb";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/UnixJunkie/dolog";
|
|
|
|
description = "Minimalistic lazy logger in OCaml";
|
|
|
|
platforms = ocaml.meta.platforms or [];
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|