wapm-cli: init at 0.5.5 (#183477)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Luc Perkins 2022-07-30 19:33:33 +02:00 committed by GitHub
parent 1f244bd9ad
commit 717f05b6ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, fetchFromGitHub
, libiconv
, openssl
, rustPlatform
, Security
, stdenv
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
pname = "wapm-cli";
version = "0.5.5";
src = fetchFromGitHub {
owner = "wasmerio";
repo = "wapm-cli";
rev = "v${version}";
sha256 = "sha256-BKBd1tJwV4VOjRnAx/spQy3LIXzujrO2SS5eA1uybNA=";
};
cargoSha256 = "sha256-dv04AXOnzizjq/qx3qy524ylQHgE4gIBgeYI+2IRTug=";
buildInputs = [ libiconv openssl ]
++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
doCheck = false;
meta = with lib; {
description = "A package manager for WebAssembly modules";
homepage = "https://docs.wasmer.io/ecosystem/wapm";
license = with licenses; [ mit ];
maintainers = [ maintainers.lucperkins ];
};
}

View file

@ -15109,6 +15109,10 @@ with pkgs;
trealla = callPackage ../development/interpreters/trealla { }; trealla = callPackage ../development/interpreters/trealla { };
wapm-cli = callPackage ../tools/package-management/wapm/cli {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
wasm = ocamlPackages.wasm; wasm = ocamlPackages.wasm;
wasm3 = callPackage ../development/interpreters/wasm3 { }; wasm3 = callPackage ../development/interpreters/wasm3 { };