1 { stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg
2 , astring, bos, cmdliner, rresult
5 stdenv.mkDerivation rec {
6 pname = "ocaml${ocaml.version}-webbrowser";
9 url = "https://erratique.ch/software/webbrowser/releases/webbrowser-${version}.tbz";
10 sha256 = "137a948bx7b71zfv4za3hhznrn5lzbbrgzjy0das83zms508isx3";
13 nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
14 buildInputs = [ topkg ];
15 propagatedBuildInputs = [ astring bos cmdliner rresult ];
19 inherit (topkg) buildPhase installPhase;
22 description = "Open and reload URIs in browsers from OCaml";
23 homepage = "https://erratique.ch/software/webbrowser";
24 license = lib.licenses.isc;
25 maintainers = [ lib.maintainers.vbgl ];
26 mainProgram = "browse";
27 inherit (ocaml.meta) platforms;