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