mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
Merge pull request #241709 from figsoda/wasmer-pack
This commit is contained in:
commit
03aa963993
37
pkgs/development/tools/misc/wasmer-pack/default.nix
Normal file
37
pkgs/development/tools/misc/wasmer-pack/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wasmer-pack";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wasmerio";
|
||||
repo = "wasmer-pack";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-+wqgYkdkuhPFkJBdQLnUKAGmUfGBU9mBfMRNBFmiT4E=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-nyhjwEZyT8IEb0pTbou/EtN47gehge3fUCQVPs2TkIY=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
cargoBuildFlags = [ "-p=wasmer-pack-cli" ];
|
||||
|
||||
# requires internet access
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Import your WebAssembly code just like any other dependency";
|
||||
homepage = "https://github.com/wasmerio/wasmer-pack";
|
||||
changelog = "https://github.com/wasmerio/wasmer-pack/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
@ -19920,6 +19920,8 @@ with pkgs;
|
||||
|
||||
wails = callPackage ../development/tools/wails { };
|
||||
|
||||
wasmer-pack = callPackage ../development/tools/misc/wasmer-pack { };
|
||||
|
||||
whatsapp-for-linux = callPackage ../applications/networking/instant-messengers/whatsapp-for-linux { };
|
||||
|
||||
whatstyle = callPackage ../development/tools/misc/whatstyle {
|
||||
|
Loading…
Reference in New Issue
Block a user