ocamlPackages.wasm: 2.0.0 → 2.0.1

This commit is contained in:
Vincent Laporte 2023-07-25 07:11:09 +02:00
parent 8c9caf3387
commit 4d5e3e4a5b
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,19 +1,18 @@
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
if lib.versionOlder ocaml.version "4.08"
|| lib.versionAtLeast ocaml.version "5.0"
then throw "wasm is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-wasm";
version = "2.0.0";
version = "2.0.1";
src = fetchFromGitHub {
owner = "WebAssembly";
repo = "spec";
rev = "opam-${version}";
sha256 = "sha256:09s0v79x0ymzcp2114zkm3phxavdfnkkq67qz1ndnknbkziwqf3v";
hash = "sha256-5eo8MIui2GxRS5X9az0NlLGZfxi5KGsTI/EaP6m/zts=";
};
nativeBuildInputs = [ ocaml findlib ocamlbuild ];