2021-10-30 21:51:37 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
|
2015-03-19 18:14:18 +00:00
|
|
|
|
2021-10-30 21:51:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "ocaml-dolog";
|
2021-10-30 21:51:37 +01:00
|
|
|
version = "3.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "UnixJunkie";
|
|
|
|
repo = "dolog";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-6wfqT5sqo4YA8XoHH3QhG6/TyzzXCzqjmnPuBArRoj8=";
|
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";
|
2021-10-30 21:51:37 +01: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
|
|
|
};
|
|
|
|
}
|