Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4373dba15590
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cd99b82d8aa0
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 16, 2020

  1. wasmer: init at 0.13.0

    Br1ght0ne authored and Jon committed Jan 16, 2020
    Copy the full SHA
    cd99b82 View commit details
Showing with 42 additions and 0 deletions.
  1. +40 −0 pkgs/development/interpreters/wasmer/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
40 changes: 40 additions & 0 deletions pkgs/development/interpreters/wasmer/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ lib
, rustPlatform
, fetchFromGitHub
, cmake
, llvmPackages
, pkg-config
}:

rustPlatform.buildRustPackage rec {
pname = "wasmer";
version = "0.13.0";

src = fetchFromGitHub {
owner = "wasmerio";
repo = pname;
rev = version;
sha256 = "1k9zd2vhrbvxlpkh21m39alk5lfhd3xa25k0awis27plfpv8fqcq";
fetchSubmodules = true;
};

cargoSha256 = "1yp7kandh5hh8hkzlmqpj05vwgr5v4nil8blf3scbppg865qk3rq";

nativeBuildInputs = [ cmake pkg-config ];

LIBCLANG_PATH = "${llvmPackages.libclang}/lib";

meta = with lib; {
description = "The Universal WebAssembly Runtime";
longDescription = ''
Wasmer is a standalone WebAssembly runtime for running WebAssembly outside
of the browser, supporting WASI and Emscripten. Wasmer can be used
standalone (via the CLI) and embedded in different languages, running in
x86 and ARM devices.
'';
homepage = "https://wasmer.io/";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 ];
platforms = platforms.all;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -25423,6 +25423,8 @@ in

wacomtablet = libsForQt5.callPackage ../tools/misc/wacomtablet { };

wasmer = callPackage ../development/interpreters/wasmer { };

wasm-pack = callPackage ../development/tools/wasm-pack {
inherit (darwin.apple_sdk.frameworks) Security;
};