diff options
author | David Leung <david@davidslab.com> | 2020-02-11 18:34:23 +0800 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-02-12 11:24:24 +0100 |
commit | e6b2d88b2a76c52922160ac134fce59a13d55341 (patch) | |
tree | ae167cefe2e23e10e28f76fe20ec29d6d69ed777 /pkgs/development/tools/wasm-pack | |
parent | 5a001981dbbf9cc73ae11a5b435a25ae2f08d5a6 (diff) | |
download | nixpkgs-e6b2d88b2a76c52922160ac134fce59a13d55341.tar nixpkgs-e6b2d88b2a76c52922160ac134fce59a13d55341.tar.gz nixpkgs-e6b2d88b2a76c52922160ac134fce59a13d55341.tar.bz2 nixpkgs-e6b2d88b2a76c52922160ac134fce59a13d55341.tar.lz nixpkgs-e6b2d88b2a76c52922160ac134fce59a13d55341.tar.xz nixpkgs-e6b2d88b2a76c52922160ac134fce59a13d55341.tar.zst nixpkgs-e6b2d88b2a76c52922160ac134fce59a13d55341.zip |
wasm-pack: 0.8.1 -> 0.9.1
Diffstat (limited to 'pkgs/development/tools/wasm-pack')
-rw-r--r-- | pkgs/development/tools/wasm-pack/default.nix | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/development/tools/wasm-pack/default.nix b/pkgs/development/tools/wasm-pack/default.nix index 3f721eaee2a..d8bdd3a4f72 100644 --- a/pkgs/development/tools/wasm-pack/default.nix +++ b/pkgs/development/tools/wasm-pack/default.nix @@ -2,32 +2,35 @@ , fetchFromGitHub , rustPlatform , pkgconfig -, openssl +, libressl , curl , Security }: rustPlatform.buildRustPackage rec { pname = "wasm-pack"; - version = "0.8.1"; + version = "0.9.1"; src = fetchFromGitHub { owner = "rustwasm"; repo = "wasm-pack"; rev = "v${version}"; - sha256 = "1z66m16n4r16zqmnv84a5jndr5x6mdqdq4b1wq929sablwqd2rl4"; + sha256 = "1rqyfg6ajxxyfx87ar25nf5ck9hd0p12qgv98dicniqag8l4rvsr"; }; - cargoSha256 = "0hp68w5mvk725gzbmlgl8j6wa1dv2fydil7jvq0f09mzxxaqrwcs"; + cargoSha256 = "095gk6lcck5864wjhrkhgnkxn9pzcg82xk5p94br7lmf15y9gc7j"; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ openssl ] - ++ stdenv.lib.optionals stdenv.isDarwin [ curl Security ]; + buildInputs = [ + # LibreSSL works around segfault issues caused by OpenSSL being unable to + # gracefully exit while doing work. + # See: https://github.com/rustwasm/wasm-pack/issues/650 + libressl + ] ++ stdenv.lib.optionals stdenv.isDarwin [ curl Security ]; - - # Tests fetch external resources and build artifacts. - # Disabled to work with sandboxing + # Most tests rely on external resources and build artifacts. + # Disabling check here to work with build sandboxing. doCheck = false; meta = with stdenv.lib; { |