2015-03-19 18:14:18 +00:00
|
|
|
{ stdenv, fetchzip, ocaml, findlib }:
|
|
|
|
|
2015-12-02 19:38:53 +00:00
|
|
|
let version = "3.0"; in
|
2015-03-19 18:14:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml-dolog-${version}";
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/UnixJunkie/dolog/archive/v${version}.tar.gz";
|
2015-12-02 19:38:53 +00:00
|
|
|
sha256 = "0gx2s4509vkkkaikl2yp7k5x7bqv45s1y1vsy408d8rakd7yl1zb";
|
2015-03-19 18:14:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/UnixJunkie/dolog;
|
|
|
|
description = "Minimalistic lazy logger in OCaml";
|
|
|
|
platforms = ocaml.meta.platforms;
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|