Unverified Commit cf59864e authored by Vincent Laporte's avatar Vincent Laporte Committed by GitHub
Browse files

ocamlPackages.eliom: 11.1.1 → 12.0.1 (#493321)

parents eb2fd5bf d1077be7
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -19,13 +19,13 @@

buildDunePackage (finalAttrs: {
  pname = "eliom";
  version = "11.1.1";
  version = "12.0.1";

  src = fetchFromGitHub {
    owner = "ocsigen";
    repo = "eliom";
    rev = finalAttrs.version;
    hash = "sha256-ALuoyO6axNQEeBteBVIFwdoSrbLxxcaSTObAcLPGIvo=";
    tag = finalAttrs.version;
    hash = "sha256-Lja3Xe3FszzyILhpOXWTyA0ippaU6aW5CJ06WEKgbkA=";
  };

  nativeBuildInputs = [
@@ -69,7 +69,6 @@ buildDunePackage (finalAttrs: {
    '';

    license = lib.licenses.lgpl21;
    broken = true;
    maintainers = [ lib.maintainers.gal_bolle ];
  };
})
+12 −7
Original line number Diff line number Diff line
@@ -3,27 +3,32 @@
  buildDunePackage,
  fetchFromGitHub,
  ppxlib,
  version ? if lib.versionAtLeast ppxlib.version "0.36.0" then "1.1" else "1.0",
}:

buildDunePackage rec {
buildDunePackage {
  pname = "ocsigen-ppx-rpc";
  version = "1.0";
  inherit version;

  src = fetchFromGitHub {
    owner = "ocsigen";
    repo = pname;
    rev = version;
    sha256 = "sha256:0qgasd89ayamgl2rfyxsipznmwa3pjllkyq9qg0g1f41h8ixpsfh";
    repo = "ocsigen-ppx-rpc";
    tag = version;
    hash =
      {
        "1.0" = "sha256:0qgasd89ayamgl2rfyxsipznmwa3pjllkyq9qg0g1f41h8ixpsfh";
        "1.1" = "sha256-YjRB0cem+iDnQIIQcHI6vo5crSxAGNGM65qyG3lTtkE=";
      }
      ."${version}";
  };

  propagatedBuildInputs = [ ppxlib ];

  meta = {
    inherit (src.meta) homepage;
    homepage = "https://github.com/ocsigen/ocsigen-ppx-rpc/";
    description = "Syntax for RPCs for Eliom and Ocsigen Start";
    license = lib.licenses.lgpl21Only;
    maintainers = [ lib.maintainers.vbgl ];
    broken = lib.versionAtLeast ppxlib.version "0.36";
  };

}
+4 −4
Original line number Diff line number Diff line
@@ -14,9 +14,9 @@
  ocsigen-ppx-rpc,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation {
  pname = "ocaml${ocaml.version}-ocsigen-start";
  version = "7.1.0";
  version = "8.0.0";

  nativeBuildInputs = [
    ocaml
@@ -42,8 +42,8 @@ stdenv.mkDerivation rec {
  src = fetchFromGitHub {
    owner = "ocsigen";
    repo = "ocsigen-start";
    rev = version;
    hash = "sha256-2DFFceUI7BYgGKvJ1sZphLWt/Rusa5Y86yc94Mi/quo=";
    rev = "b64139e365ab1d244033133629431f7a73e3e054";
    hash = "sha256-N6bPEibcN7WM23hSK4260+hZWo9PSRoSLjemF7m/9Ic=";
  };

  preInstall = ''
+4 −4
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
stdenv.mkDerivation rec {
  pname = "ocsigen-toolkit";
  name = "ocaml${ocaml.version}-${pname}-${version}";
  version = "4.1.0";
  version = "4.2.0";

  propagatedBuildInputs = [
    calendar
@@ -40,9 +40,9 @@ stdenv.mkDerivation rec {

  src = fetchFromGitHub {
    owner = "ocsigen";
    repo = pname;
    rev = version;
    hash = "sha256-1kw2HANajHDdMmjuYNB79ZDqy2Ml02nc5s+cJzIoxQ8=";
    repo = "ocsigen-toolkit";
    tag = version;
    hash = "sha256-wken+5hUewE0Nktl2PY1xMmVveSs8X0ihWD+MK4pzRQ=";
  };

  meta = {
+2 −23
Original line number Diff line number Diff line
@@ -548,19 +548,7 @@ let
          stdenv = pkgs.gcc13Stdenv;
        };

        eliom =
          let
            js_of_ocaml-compiler = self.js_of_ocaml-compiler.override { version = "5.9.1"; };
            js_of_ocaml = self.js_of_ocaml.override { inherit js_of_ocaml-compiler; };
          in
          callPackage ../development/ocaml-modules/eliom rec {
            js_of_ocaml-ppx = self.js_of_ocaml-ppx.override { inherit js_of_ocaml; };
            js_of_ocaml-ppx_deriving_json = self.js_of_ocaml-ppx_deriving_json.override {
              inherit js_of_ocaml;
            };
            js_of_ocaml-lwt = self.js_of_ocaml-lwt.override { inherit js_of_ocaml js_of_ocaml-ppx; };
            js_of_ocaml-tyxml = self.js_of_ocaml-tyxml.override { inherit js_of_ocaml js_of_ocaml-ppx; };
          };
        eliom = callPackage ../development/ocaml-modules/eliom { };

        elpi = callPackage ../development/ocaml-modules/elpi (
          let
@@ -1582,16 +1570,7 @@ let

        ocsigen-start = callPackage ../development/ocaml-modules/ocsigen-start { };

        ocsigen-toolkit =
          let
            js_of_ocaml-compiler = self.js_of_ocaml-compiler.override { version = "5.9.1"; };
            js_of_ocaml = self.js_of_ocaml.override { inherit js_of_ocaml-compiler; };
          in
          callPackage ../development/ocaml-modules/ocsigen-toolkit {
            js_of_ocaml-ppx_deriving_json = self.js_of_ocaml-ppx_deriving_json.override {
              inherit js_of_ocaml;
            };
          };
        ocsigen-toolkit = callPackage ../development/ocaml-modules/ocsigen-toolkit { };

        ocsipersist = callPackage ../development/ocaml-modules/ocsipersist { };