blob: 420baa5baeb353b4fece8a7a3aadc71c04ae5e74 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ lib
, fetchFromGitHub
, perl
, libiconv
, openssl
, rustPlatform
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "wapm-cli";
version = "0.5.9";
src = fetchFromGitHub {
owner = "wasmerio";
repo = "wapm-cli";
rev = "v${version}";
hash = "sha256-T7YEe8xg5iwI/npisW0m+6FLi+eaAQVgYNe6TvMlhAs=";
};
cargoHash = "sha256-r4123NJ+nxNOVIg6svWr636xbxOJQ7tp76JoAi2m9p8=";
nativeBuildInputs = [ perl ];
buildInputs = [ libiconv openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ Security SystemConfiguration ]);
doCheck = false;
meta = with lib; {
description = "Package manager for WebAssembly modules";
mainProgram = "wapm";
homepage = "https://docs.wasmer.io/ecosystem/wapm";
license = with licenses; [ mit ];
maintainers = [ maintainers.lucperkins ];
};
}
|