1 { stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
3 stdenv.mkDerivation rec {
4 pname = "ocaml${ocaml.version}-rresult";
7 url = "https://erratique.ch/software/rresult/releases/rresult-${version}.tbz";
8 sha256 = "1k69a3gvrk7f2cshwjzvk7818f0bwxhacgd14wxy6d4gmrggci86";
11 nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
12 buildInputs = [ topkg ];
14 propagatedBuildInputs = [ result ];
18 inherit (topkg) buildPhase installPhase;
21 license = lib.licenses.isc;
22 homepage = "https://erratique.ch/software/rresult";
23 description = "Result value combinators for OCaml";
24 maintainers = [ lib.maintainers.vbgl ];
25 inherit (ocaml.meta) platforms;