Unverified Commit 95dc3c9f authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlPackages.secp256k1: fix for OCaml ≥ 5.0

parent 86649675
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchpatch,
  buildDunePackage,
  base,
  stdio,
@@ -21,6 +22,11 @@ buildDunePackage rec {
    hash = "sha256-22+dZb3MC1W5Qvsz3+IHV1/XiGCRmJHTH+6IW2QX2hU=";
  };

  patches = fetchpatch {
    url = "https://github.com/dakk/secp256k1-ml/commit/9bde90a401746dcecdab68a2fdb95659d16a3022.patch";
    hash = "sha256-QndtZJtPKPjuv84jDmXc9Q/xGLb/mNUGL4AvRecSFlQ=";
  };

  buildInputs = [
    base
    stdio