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