tremor-rs: build on more platforms

This commit is contained in:
Weijia Wang 2023-05-27 16:13:42 +03:00
parent 1a67b29431
commit e1884a1644

View file

@ -2,7 +2,6 @@
, rustPlatform
, pkg-config
, cmake
, llvmPackages
, openssl
, fetchFromGitHub
, installShellFiles
@ -33,7 +32,7 @@ rustPlatform.buildRustPackage rec {
};
};
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
nativeBuildInputs = [ cmake pkg-config installShellFiles rustPlatform.bindgenHook ];
buildInputs = [ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Security libiconv ];
@ -57,8 +56,6 @@ rustPlatform.buildRustPackage rec {
--zsh <($out/bin/tremor completions zsh)
'';
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
# OPENSSL_NO_VENDOR - If set, always find OpenSSL in the system, even if the vendored feature is enabled.
OPENSSL_NO_VENDOR = 1;
@ -80,14 +77,13 @@ rustPlatform.buildRustPackage rec {
cargoBuildFlags = [ "-p tremor-cli" ];
meta = with lib; {
broken = stdenv.isDarwin;
broken = stdenv.isDarwin && stdenv.isx86_64;
description = ''
Early stage event processing system for unstructured data with rich
support for structural pattern matching, filtering and transformation
'';
homepage = "https://www.tremor.rs/";
license = licenses.asl20;
platforms = platforms.x86_64;
maintainers = with maintainers; [ humancalico happysalada ];
};
}