Commit e1884a16 authored by Weijia Wang's avatar Weijia Wang
Browse files

tremor-rs: build on more platforms

parent 1a67b294
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -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 ];
  };
}