Merge branch 'master' into staging-next

This commit is contained in:
Jan Tojnar
2020-05-18 21:09:27 +02:00
501 changed files with 11984 additions and 6526 deletions

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "1pxj6flyhf522zjab1dfvxfajyx3v3rzs7l8ma7ma6b8zmwp2wdn";
};
modSha256 = "165mjfjk4x95ckw7wg96bg9pzb3297sggnip38nz2jxxbqr0ff8b";
vendorSha256 = "1rn8ijq3v3fzlbyvm7g4i3qpwcl3vrl4rbcvlbzv05wxrgcw9iqb";
preBuild = ''
go generate ./...
@@ -26,4 +26,4 @@ buildGoModule rec {
platforms = platforms.all;
maintainers = with maintainers; [ andrestylianos ];
};
}
}

View File

@@ -272,8 +272,8 @@ let
});
php74base = callPackage generic (_args // {
version = "7.4.4";
sha256 = "17w2m4phhpj76x5fx67vgjrlkcczqvky3f5in1kjg2pch90qz3ih";
version = "7.4.6";
sha256 = "0j133pfwa823d4jhx2hkrrzjl4hswvz00b1z58r5c82xd5sr9vd6";
});
defaultPhpExtensions = { all, ... }: with all; ([

View File

@@ -4,12 +4,14 @@ venvShellHook() {
if [ -d "${venvDir}" ]; then
echo "Skipping venv creation, '${venvDir}' already exists"
source "${venvDir}/bin/activate"
else
echo "Creating new venv environment in path: '${venvDir}'"
@pythonInterpreter@ -m venv "${venvDir}"
fi
source "${venvDir}/bin/activate"
source "${venvDir}/bin/activate"
runHook postVenvCreation
fi
runHook postShellHook
echo "Finished executing venvShellHook"

View File

@@ -2,26 +2,24 @@
rustPlatform.buildRustPackage rec {
pname = "wasmtime";
version = "0.15.0";
version = "0.16.0";
src = fetchFromGitHub {
owner = "bytecodealliance";
repo = "${pname}";
rev = "v${version}";
sha256 = "1df99iak0psydlg9m8f8qq4zyh4wbi5l4qgsdjr2lm74ci3483xy";
sha256 = "1zlljqkkcw8h94ff1w47sqn9pn0zal06s06i8nciv5i2d1xaqg5n";
fetchSubmodules = true;
};
cargoSha256 = "170bz48jrc1k2ylfmd3bcry0xpcxx8p3rzzv9mprlfmrfpb0b28r";
cargoSha256 = "1hb7l7a76lgbji0qm9qd80m35cp346hyi4rphfk6p80v142cw8hh";
nativeBuildInputs = [ python cmake clang ];
buildInputs = [ llvmPackages.libclang ] ++
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
# no test on darwin due to
# https://github.com/bytecodealliance/wasmtime/issues/1556
doCheck = !stdenv.isDarwin;
doCheck = true;
meta = with lib; {
description = "Standalone JIT-style runtime for WebAssembly, using Cranelift";