at 17.09-beta 24 lines 636 B view raw
1{stdenv, buildOcaml, fetchurl, herelib, camlp4}: 2 3buildOcaml rec { 4 minimumSupportedOcamlVersion = "4.00"; 5 name = "faillib"; 6 version = "111.17.00"; 7 8 src = fetchurl { 9 url = "https://github.com/janestreet/faillib/archive/${version}.tar.gz"; 10 sha256 = "12dvaxkmgf7yzzvbadcyk1n17llgh6p8qr33867d21npaljy7l9v"; 11 }; 12 13 propagatedBuildInputs = [ camlp4 herelib ]; 14 15 doCheck = true; 16 checkPhase = "make test"; 17 18 meta = with stdenv.lib; { 19 homepage = https://ocaml.janestreet.com/; 20 description = "Library for dealing with failure in OCaml"; 21 license = licenses.asl20; 22 maintainers = [ maintainers.maurer ]; 23 }; 24}