git.iko.soy/typeable/nixpkgs
on master help sign in
eliom: 4 -> 5.0
commitabfe632ce2b9a0d5cf61be273c8ade9cad6dd0da authorFlorent Becker <Florent.Becker@ens-lyon.org> dateMon 30 May 2016, 17:46 (11 years ago) parent7fda41c
2 files changed+8−20
pkgs/development/ocaml-modules/eliom/camlp4.patch+3−15 pkgs/development/ocaml-modules/eliom/default.nix+5−5
pkgs/development/ocaml-modules/eliom/camlp4.patch+3−15
@@ -1,24 +1,12 @@
11--- a/src/_tags 2014-10-01 16:19:35.000000000 +0100
22+++ b/src/_tags 2014-11-09 16:55:34.470663377 +0000
3−@@ -39,7 +39,7 @@
3+@@ -40,7 +40,7 @@
44 <lib/server/monitor/*.ml{,i}>:I(src/lib/server)
55
6− <syntax/pa_*.ml{,i}>: syntax(camlp4o),package(camlp4.quotations.o,camlp4.extend)
6+ <syntax/pa_*.*>: syntax(camlp4o),package(camlp4.quotations.o,camlp4.extend,bytes)
77-<syntax/pa_*.ml{,i}>: I(+camlp4/Camlp4Parsers)
88+<syntax/pa_*.ml{,i}>: use_camlp4_full
99
10+ <ppx/**/*>: package(ppx_tools, compiler-libs.common, ppx_tools.metaquot)
1011
11− <ocamlbuild/ocamlbuild_eliom.ml{,i}>: package(ocamlbuild,js_of_ocaml.ocamlbuild)
12−
13−--- a/src/lib/eliom_registration.server.ml 2014-10-01 16:19:35.000000000 +0100
14−+++ b/src/lib/eliom_registration.server.ml 2014-11-09 17:26:16.093198699 +0000
15−@@ -2440,7 +2440,7 @@
16− (Ocaml.register_post_coservice'
17− ?scope ?options ?charset ?code ?content_type ?headers ?secure_session ?name
18− ?csrf_safe ?csrf_scope ?csrf_secure ?max_use ?timeout ?https ?error_handler
19−- ~post_params:Eliom_parameter.(ocaml "argument" argument_type)
20−+ ~post_params:(Eliom_parameter.ocaml "argument" argument_type)
21− (fun () argument -> f argument))
22− (Eliom_wrap.create_unwrapper
23− (Eliom_wrap.id_of_int Eliom_common_base.server_function_unwrap_id_int))
2412
pkgs/development/ocaml-modules/eliom/default.nix+5−5
@@ -1,25 +1,25 @@
11{ stdenv, fetchurl, ocaml, findlib, which, ocsigen_server, ocsigen_deriving,
22 js_of_ocaml, ocaml_react, ocaml_lwt, calendar, cryptokit, tyxml,
33 ipaddr, ocamlnet, ocaml_ssl, ocaml_pcre, ocaml_optcomp,
4− reactivedata, opam}:
4+ reactivedata, opam, ppx_tools, camlp4}:
55
66assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4";
77
88stdenv.mkDerivation rec
99{
1010 pname = "eliom";
11− version = "4.2.0";
11+ version = "5.0.0";
1212 name = "${pname}-${version}";
1313
1414 src = fetchurl {
15− url = https://github.com/ocsigen/eliom/archive/4.2.tar.gz;
16− sha256 = "0gbqzgn6xgpq6irz2sfr92qj3hjcwl45wy0inc4ps5r15nvq1l9h";
15+ url = "https://github.com/ocsigen/eliom/archive/${version}.tar.gz";
16+ sha256 = "1g9wq2qpn0sgzyb6iq0h9afq5p68il4h8pc7jppqsislk87m09k7";
1717 };
1818
1919 patches = [ ./camlp4.patch ];
2020
2121 buildInputs = [ocaml which ocsigen_server findlib ocsigen_deriving
22− js_of_ocaml ocaml_optcomp opam];
22+ js_of_ocaml ocaml_optcomp opam ppx_tools camlp4 ];
2323
2424 propagatedBuildInputs = [ ocaml_lwt reactivedata tyxml ipaddr
2525 calendar cryptokit ocamlnet ocaml_react ocaml_ssl