nixpkgs/pkgs/development/ocaml-modules/dolog/default.nix
Vincent Laporte 20b150b26c Adds ocaml-dolog-1.0
dolog is a minimalistic lazy logger in OCaml

Homepage: https://github.com/UnixJunkie/dolog
2015-03-19 19:14:18 +01:00

27 lines
662 B
Nix

{ stdenv, fetchzip, ocaml, findlib }:
let version = "1.0"; in
stdenv.mkDerivation {
name = "ocaml-dolog-${version}";
src = fetchzip {
url = "https://github.com/UnixJunkie/dolog/archive/v${version}.tar.gz";
sha256 = "1yy3a0h9xn5mv8q38yx5jgavj2hgfw42mdnrzixl25pqx7idvcmf";
};
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 ];
};
}