Merge pull request #118819 from humancalico/tremor-bump

tremor-rs: 0.10.1 -> 0.11.0
This commit is contained in:
Sandro 2021-04-17 00:34:23 +02:00 committed by GitHub
commit f6cb5894db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,22 +3,26 @@
rustPlatform.buildRustPackage rec {
pname = "tremor";
version = "0.10.1";
version = "0.11.0";
src = fetchFromGitHub {
owner = "tremor-rs";
repo = "tremor-runtime";
rev = "v${version}";
sha256 = "1z1khxfdj2j0xf7dp0x2cd9kl6r4qicp7kc4p4sdky2yib66512y";
sha256 = "19g0ijkclrza6s0qcbwwh3lhlkisy00ffcl0c0d7dfqwrcisgz57";
};
cargoSha256 = "sha256-rN/d6BL2d0D0ichQR6v0543Bh/Y2ktz8ExMH50M8B8c=";
cargoSha256 = "1xv205czb2z6qpqi6vslyrx2n21510qqa11i2hwya3jdcc9lkrsd";
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
buildInputs = [ openssl ];
# TODO export TREMOR_PATH($out/lib) variable
postInstall = ''
# Copy the standard library to $out/lib
cp -r ${src}/tremor-script/lib/ $out
installShellCompletion --cmd tremor \
--bash <($out/bin/tremor completions bash) \
--fish <($out/bin/tremor completions fish) \
@ -30,7 +34,7 @@ rustPlatform.buildRustPackage rec {
# OPENSSL_NO_VENDOR - If set, always find OpenSSL in the system, even if the vendored feature is enabled.
OPENSSL_NO_VENDOR = 1;
cargoBuildFlags = [ "--all" ];
cargoBuildFlags = [ "-p tremor-cli" ];
meta = with lib; {
description = "Early stage event processing system for unstructured data with rich support for structural pattern matching, filtering and transformation";