mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
commit
787509535b
1491
pkgs/development/tools/wasmi/Cargo.lock
generated
Normal file
1491
pkgs/development/tools/wasmi/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
34
pkgs/development/tools/wasmi/default.nix
Normal file
34
pkgs/development/tools/wasmi/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "wasmi";
|
||||||
|
version = "0.30.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "paritytech";
|
||||||
|
repo = "wasmi";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-0G/K61JP4SehhP+wD9uwCU1GRjzJdz4fkePv+IiqUY4=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoLock = {
|
||||||
|
lockFile = ./Cargo.lock;
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
ln -s ${./Cargo.lock} Cargo.lock
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An efficient WebAssembly interpreter";
|
||||||
|
homepage = "https://github.com/paritytech/wasmi";
|
||||||
|
changelog = "https://github.com/paritytech/wasmi/blob/${src.rev}/CHANGELOG.md";
|
||||||
|
license = with licenses; [ asl20 mit ];
|
||||||
|
mainProgram = "wasmi_cli";
|
||||||
|
maintainers = with maintainers; [ dit7ya ];
|
||||||
|
};
|
||||||
|
}
|
@ -13827,6 +13827,8 @@ with pkgs;
|
|||||||
inherit (darwin.apple_sdk_11_0.frameworks) Foundation;
|
inherit (darwin.apple_sdk_11_0.frameworks) Foundation;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wasmi = callPackage ../development/tools/wasmi { };
|
||||||
|
|
||||||
welkin = callPackage ../tools/graphics/welkin { };
|
welkin = callPackage ../tools/graphics/welkin { };
|
||||||
|
|
||||||
wemux = callPackage ../tools/misc/wemux { };
|
wemux = callPackage ../tools/misc/wemux { };
|
||||||
|
Loading…
Reference in New Issue
Block a user