binaryen: 95 -> 96
This commit is contained in:
parent
48dc384a3c
commit
93fda1f69d
@ -1,16 +1,24 @@
|
|||||||
{ stdenv, cmake, python3, fetchFromGitHub }:
|
{ stdenv, cmake, python3, fetchFromGitHub, fetchpatch, emscripten }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "binaryen";
|
pname = "binaryen";
|
||||||
version = "95";
|
version = "96";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "WebAssembly";
|
owner = "WebAssembly";
|
||||||
repo = "binaryen";
|
repo = "binaryen";
|
||||||
rev = "version_${version}";
|
rev = "version_${version}";
|
||||||
sha256 = "1w4js9bm5qv5aws8bzz4f0n3ni2l7h4fidkq9v5bldf0zxncy8m3";
|
sha256 = "1mqpb6yy87aifpbcy0lczi3bp6kddrwi6d0g6lrhjrdxx2kvbdag";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Adds --minimize-wasm-changes option required by emscripten 2.0.1
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/WebAssembly/binaryen/pull/3044.patch";
|
||||||
|
sha256 = "1hdbc9h9zhh2d3bl4sqv6v9psfmny715612bwpjdln0ibdvc129s";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python3 ];
|
nativeBuildInputs = [ cmake python3 ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -20,4 +28,8 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = with maintainers; [ asppsa ];
|
maintainers = with maintainers; [ asppsa ];
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit emscripten;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user