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