2015-03-19 18:14:18 +00:00
|
|
|
{ stdenv, fetchzip, ocaml, findlib }:
|
|
|
|
|
2015-09-14 19:07:21 +01:00
|
|
|
let version = "1.1"; 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-09-14 19:07:21 +01:00
|
|
|
sha256 = "093lmprb1v2ran3pyymcdq80xnsgdz7h76g764xsy97dba5ik40n";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|