nixpkgs/pkgs/development/ocaml-modules/dolog/default.nix

27 lines
691 B
Nix
Raw Normal View History

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