lol

Merge pull request #122371 from stephank/fix-tremor-darwin

tremor-rs: build on darwin

authored by

Sandro and committed by
GitHub
711ad46b 28baff36

+7 -4
+4 -3
pkgs/tools/misc/tremor-rs/default.nix
··· 1 { lib, rustPlatform, pkg-config, cmake, llvmPackages, openssl, fetchFromGitHub 2 - , installShellFiles }: 3 4 rustPlatform.buildRustPackage rec { 5 pname = "tremor"; ··· 16 17 nativeBuildInputs = [ cmake pkg-config installShellFiles ]; 18 19 - buildInputs = [ openssl ]; 20 21 # TODO export TREMOR_PATH($out/lib) variable 22 postInstall = '' ··· 40 description = "Early stage event processing system for unstructured data with rich support for structural pattern matching, filtering and transformation"; 41 homepage = "https://www.tremor.rs/"; 42 license = licenses.asl20; 43 - platforms = [ "x86_64-linux" ]; 44 maintainers = with maintainers; [ humancalico ]; 45 }; 46 }
··· 1 { lib, rustPlatform, pkg-config, cmake, llvmPackages, openssl, fetchFromGitHub 2 + , installShellFiles, stdenv, Security, libiconv }: 3 4 rustPlatform.buildRustPackage rec { 5 pname = "tremor"; ··· 16 17 nativeBuildInputs = [ cmake pkg-config installShellFiles ]; 18 19 + buildInputs = [ openssl ] 20 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security libiconv ]; 21 22 # TODO export TREMOR_PATH($out/lib) variable 23 postInstall = '' ··· 41 description = "Early stage event processing system for unstructured data with rich support for structural pattern matching, filtering and transformation"; 42 homepage = "https://www.tremor.rs/"; 43 license = licenses.asl20; 44 + platforms = platforms.x86_64; 45 maintainers = with maintainers; [ humancalico ]; 46 }; 47 }
+3 -1
pkgs/top-level/all-packages.nix
··· 9465 9466 tre = callPackage ../development/libraries/tre { }; 9467 9468 - tremor-rs = callPackage ../tools/misc/tremor-rs { }; 9469 9470 ts = callPackage ../tools/system/ts { }; 9471
··· 9465 9466 tre = callPackage ../development/libraries/tre { }; 9467 9468 + tremor-rs = callPackage ../tools/misc/tremor-rs { 9469 + inherit (darwin.apple_sdk.frameworks) Security; 9470 + }; 9471 9472 ts = callPackage ../tools/system/ts { }; 9473