at 18.03-beta 26 lines 691 B view raw
1{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }: 2 3let version = "3.0"; in 4 5stdenv.mkDerivation { 6 name = "ocaml-dolog-${version}"; 7 src = fetchzip { 8 url = "https://github.com/UnixJunkie/dolog/archive/v${version}.tar.gz"; 9 sha256 = "0gx2s4509vkkkaikl2yp7k5x7bqv45s1y1vsy408d8rakd7yl1zb"; 10 }; 11 12 buildInputs = [ ocaml findlib ocamlbuild ]; 13 14 createFindlibDestdir = true; 15 16 doCheck = true; 17 checkTarget = "test"; 18 19 meta = { 20 homepage = https://github.com/UnixJunkie/dolog; 21 description = "Minimalistic lazy logger in OCaml"; 22 platforms = ocaml.meta.platforms or []; 23 license = stdenv.lib.licenses.bsd3; 24 maintainers = with stdenv.lib.maintainers; [ vbgl ]; 25 }; 26}