2021-01-11 12:49:15 +00:00
|
|
|
{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild }:
|
2015-03-19 18:14:18 +00:00
|
|
|
|
2015-12-02 19:38:53 +00:00
|
|
|
let version = "3.0"; in
|
2015-03-19 18:14:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "ocaml-dolog";
|
|
|
|
inherit version;
|
2015-03-19 18:14:18 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2016-10-08 07:44:25 +01:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
2015-03-19 18:14:18 +00:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/UnixJunkie/dolog";
|
2015-03-19 18:14:18 +00:00
|
|
|
description = "Minimalistic lazy logger in OCaml";
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
2015-03-19 18:14:18 +00:00
|
|
|
};
|
|
|
|
}
|