8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
16 hash = "sha256-+wqgYkdkuhPFkJBdQLnUKAGmUfGBU9mBfMRNBFmiT4E=";
19 cargoHash = "sha256-nyhjwEZyT8IEb0pTbou/EtN47gehge3fUCQVPs2TkIY=";
21 buildInputs = lib.optionals stdenv.isDarwin [
22 darwin.apple_sdk.frameworks.Security
25 cargoBuildFlags = [ "-p=wasmer-pack-cli" ];
27 # requires internet access
31 description = "Import your WebAssembly code just like any other dependency";
32 mainProgram = "wasmer-pack";
33 homepage = "https://github.com/wasmerio/wasmer-pack";
34 changelog = "https://github.com/wasmerio/wasmer-pack/blob/${src.rev}/CHANGELOG.md";
35 license = licenses.mit;
36 maintainers = with maintainers; [ figsoda ];