From 3a5d3c73c78cb63df07fce947a2fe5e6058069a3 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 2 Jun 2022 09:33:44 +0200 Subject: ocamlPackages.wasm: 1.1.1 → 2.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/wasm/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pkgs') diff --git a/pkgs/development/ocaml-modules/wasm/default.nix b/pkgs/development/ocaml-modules/wasm/default.nix index 5d53d6db4186c..3af1bd00a19b4 100644 --- a/pkgs/development/ocaml-modules/wasm/default.nix +++ b/pkgs/development/ocaml-modules/wasm/default.nix @@ -1,19 +1,18 @@ { stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }: -if lib.versionOlder ocaml.version "4.03" -|| lib.versionOlder "4.13" ocaml.version +if lib.versionOlder ocaml.version "4.08" then throw "wasm is not available for OCaml ${ocaml.version}" else stdenv.mkDerivation rec { pname = "ocaml${ocaml.version}-wasm"; - version = "1.1.1"; + version = "2.0.0"; src = fetchFromGitHub { owner = "WebAssembly"; repo = "spec"; rev = "opam-${version}"; - sha256 = "1kp72yv4k176i94np0m09g10cviqp2pnpm7jmiq6ik7fmmbknk7c"; + sha256 = "sha256:09s0v79x0ymzcp2114zkm3phxavdfnkkq67qz1ndnknbkziwqf3v"; }; nativeBuildInputs = [ ocaml findlib ocamlbuild ]; -- cgit 1.4.1