Commit df6fb983 authored by Sora Morimoto's avatar Sora Morimoto Committed by Vincent Laporte
Browse files

dune_3: 3.16.1 -> 3.17.0

parent 632dc994
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -23,6 +23,10 @@ buildDunePackage rec {

  doCheck = true;

  preCheck = ''
    export DUNE_CACHE=disabled
  '';

  meta = with lib; {
    description = "Hexdump in OCaml";
    homepage = "https://github.com/dinosaure/hxd";
+8 −1
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, buildDunePackage, logs, zarith }:
{ lib, fetchFromGitHub, fetchpatch, buildDunePackage, logs, zarith }:

buildDunePackage rec {
  pname = "ocplib-simplex";
@@ -11,6 +11,13 @@ buildDunePackage rec {
    hash = "sha256-fLTht+TlyJIsIAsRLmmkFKsnbSeW3BgyAyURFdnGfko=";
  };

  # Fix tests with dune 3.17.0
  # See https://github.com/OCamlPro/ocplib-simplex/issues/35
  patches = (fetchpatch {
    url = "https://github.com/OCamlPro/ocplib-simplex/commit/456a744bddd397daade7959d4a49cfadafdadd33.patch";
    hash = "sha256-tQUXOoRGe1AIzHcm6j2MopROxn75OE9YUP+CwcKUbVg=";
  });

  propagatedBuildInputs = [ logs zarith ];

  doCheck = true;
+5 −0
Original line number Diff line number Diff line
@@ -17,6 +17,11 @@ buildDunePackage {
    melange
  ];
  doCheck = true;
  # Fix tests with dune 3.17.0
  # See https://github.com/reasonml/reason-react/issues/870
  preCheck = ''
    export DUNE_CACHE=disabled
  '';
  meta = reason-react-ppx.meta // {
    description = "Reason bindings for React.js";
  };
+2 −2
Original line number Diff line number Diff line
@@ -6,11 +6,11 @@ else

stdenv.mkDerivation rec {
  pname = "dune";
  version = "3.16.1";
  version = "3.17.0";

  src = fetchurl {
    url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz";
    hash = "sha256-t4GuIPh2E8KhG9BxeAngBHDILWFeFSZPmmTgMwUaw94=";
    hash = "sha256-LDqmxB7Tnj1sGiktdfSAa9gDEIQa/FFnOqWc6cgWUHw=";
  };

  nativeBuildInputs = [ ocaml findlib ];