2017-12-14 07:36:29 +00:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg }:
|
2017-03-15 20:04:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ocaml${ocaml.version}-rresult-${version}";
|
2018-10-27 05:53:10 +01:00
|
|
|
version = "0.6.0";
|
2017-03-15 20:04:40 +00:00
|
|
|
src = fetchurl {
|
2019-04-22 09:14:28 +01:00
|
|
|
url = "https://erratique.ch/software/rresult/releases/rresult-${version}.tbz";
|
2018-10-27 05:53:10 +01:00
|
|
|
sha256 = "1k69a3gvrk7f2cshwjzvk7818f0bwxhacgd14wxy6d4gmrggci86";
|
2017-03-15 20:04:40 +00:00
|
|
|
};
|
|
|
|
|
2017-12-14 07:36:29 +00:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg ];
|
2017-03-15 20:04:40 +00:00
|
|
|
|
|
|
|
inherit (topkg) buildPhase installPhase;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
license = stdenv.lib.licenses.isc;
|
2019-04-15 00:25:45 +01:00
|
|
|
homepage = https://erratique.ch/software/rresult;
|
2017-03-15 20:04:40 +00:00
|
|
|
description = "Result value combinators for OCaml";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
inherit (ocaml.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|