python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / wasmedge / default.nix
blob58b4b89ad9aab7e35ab24270c250961dd6855f08
1 { lib
2 , fetchFromGitHub
3 , llvmPackages
4 , boost
5 , cmake
6 , gtest
7 , spdlog
8 }:
10 llvmPackages.stdenv.mkDerivation rec {
11   pname = "wasmedge";
12   version = "0.11.2";
14   src = fetchFromGitHub {
15     owner = "WasmEdge";
16     repo = "WasmEdge";
17     rev = version;
18     sha256 = "sha256-P2Y2WK6G8aEK1Q4hjrS9X+2WbOfy4brclB/+SWP5LTM=";
19   };
21   buildInputs = [
22     boost
23     spdlog
24     llvmPackages.llvm
25   ];
27   nativeBuildInputs = [ cmake llvmPackages.lld ];
29   checkInputs = [ gtest ];
31   cmakeFlags = [
32     "-DCMAKE_BUILD_TYPE=Release"
33     "-DWASMEDGE_BUILD_TESTS=OFF" # Tests are downloaded using git
34   ];
36   meta = with lib; {
37     homepage = "https://wasmedge.org/";
38     license = with licenses; [ asl20 ];
39     description = "A lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications";
40     maintainers = with maintainers; [ dit7ya ];
41   };