8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
27 lines
702 B
Nix
27 lines
702 B
Nix
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
|
|
|
|
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 [];
|
|
license = stdenv.lib.licenses.bsd3;
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|