2016-10-08 08:44:25 +02:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, type_conv, camlp4 }:
|
2015-03-06 20:28:56 +01:00
|
|
|
|
|
|
|
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00";
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml-enumerate-111.08.00";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://ocaml.janestreet.com/ocaml-core/111.08.00/individual/enumerate-111.08.00.tar.gz;
|
|
|
|
sha256 = "0b6mx5p01lcpimvak4wx6aj2119707wsfzd83rwgb91bhpgzh156";
|
|
|
|
};
|
|
|
|
|
2016-10-08 08:44:25 +02:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
2015-09-06 21:15:10 +02:00
|
|
|
propagatedBuildInputs = [ type_conv camlp4 ];
|
2015-03-06 20:28:56 +01:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://ocaml.janestreet.com/;
|
|
|
|
description = "Quotation expanders for enumerating finite types";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
2015-12-24 18:49:07 +01:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-03-06 20:28:56 +01:00
|
|
|
};
|
|
|
|
}
|