vacuum-go: 0.16.1 -> 0.16.2 (#380231)
[NixPkgs.git] / pkgs / by-name / wa / wapm / package.nix
blobd70166275e6bba02fe2fd1f493a19b66f75422e7
2   lib,
3   fetchFromGitHub,
4   perl,
5   libiconv,
6   openssl,
7   rustPlatform,
8   stdenv,
9   darwin,
12 rustPlatform.buildRustPackage rec {
13   pname = "wapm-cli";
14   version = "0.5.9";
16   src = fetchFromGitHub {
17     owner = "wasmerio";
18     repo = "wapm-cli";
19     rev = "v${version}";
20     hash = "sha256-T7YEe8xg5iwI/npisW0m+6FLi+eaAQVgYNe6TvMlhAs=";
21   };
23   useFetchCargoVendor = true;
24   cargoHash = "sha256-GW5/1/RsS5jn6DoR+wGpwNzUW+nN45cxpE85XbnXqso=";
26   nativeBuildInputs = [ perl ];
28   buildInputs =
29     [
30       libiconv
31       openssl
32     ]
33     ++ lib.optionals stdenv.hostPlatform.isDarwin (
34       with darwin.apple_sdk.frameworks;
35       [
36         Security
37         SystemConfiguration
38       ]
39     );
41   doCheck = false;
43   meta = with lib; {
44     description = "Package manager for WebAssembly modules";
45     mainProgram = "wapm";
46     homepage = "https://docs.wasmer.io/ecosystem/wapm";
47     license = with licenses; [ mit ];
48     maintainers = [ maintainers.lucperkins ];
49   };