ocamlPackages.lwt_ppx: 2.0.1 → 2.0.2

This commit is contained in:
Vincent Laporte 2021-01-04 08:43:44 +01:00 committed by Vincent Laporte
parent e65e269b5e
commit 90d4109c23
2 changed files with 11 additions and 6 deletions

View file

@ -1,6 +1,7 @@
{ stdenv, fetchzip, which, ocsigen_server, ocaml,
lwt_react,
opaline, ppx_deriving, findlib
, ppx_tools_versioned
, js_of_ocaml-ocamlbuild, js_of_ocaml-ppx, js_of_ocaml-ppx_deriving_json
, js_of_ocaml-lwt
, js_of_ocaml-tyxml
@ -22,6 +23,7 @@ stdenv.mkDerivation rec
};
buildInputs = [ ocaml which findlib js_of_ocaml-ocamlbuild js_of_ocaml-ppx_deriving_json opaline
ppx_tools_versioned
];
propagatedBuildInputs = [

View file

@ -1,8 +1,12 @@
{ fetchzip, buildDunePackage, lwt, ppx_tools_versioned }:
{ fetchzip, buildDunePackage, lwt, ppxlib }:
buildDunePackage {
pname = "lwt_ppx";
version = "2.0.1";
version = "2.0.2";
useDune2 = true;
minimumOCamlVersion = "4.04";
src = fetchzip {
# `lwt_ppx` has a different release cycle than Lwt, but it's included in
@ -12,12 +16,11 @@ buildDunePackage {
#
# This is particularly useful for overriding Lwt without breaking `lwt_ppx`,
# as new Lwt releases may contain broken `lwt_ppx` code.
url = "https://github.com/ocsigen/lwt/archive/5.2.0.tar.gz";
sha256 = "1znw8ckwdmqsnrcgar4g33zgr659l4l904bllrz69bbwdnfmz2x3";
url = "https://github.com/ocsigen/lwt/archive/5.4.0.tar.gz";
sha256 = "1ay1zgadnw19r9hl2awfjr22n37l7rzxd9v73pjbahavwm2ay65d";
};
propagatedBuildInputs = [ lwt ppx_tools_versioned ];
propagatedBuildInputs = [ lwt ppxlib ];
meta = {
description = "Ppx syntax extension for Lwt";