diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-01-24 17:15:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 17:15:02 +0100 |
commit | 5cd2baa57a9ff2d84f2615700434fa04f3067fdb (patch) | |
tree | 878f3b542902a065e4c3ed41f730c5ee891c7fcc | |
parent | 3c4477c32ea39abe21eb7ce0025b17f80f66e3b4 (diff) | |
parent | f03470fe9a19579f55ac1db67a8724395efc8d35 (diff) |
Merge pull request #281019 from wackbyte/bump-lune
-rw-r--r-- | pkgs/development/interpreters/lune/default.nix | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/pkgs/development/interpreters/lune/default.nix b/pkgs/development/interpreters/lune/default.nix index cb6f532e2bc96..6622c572692af 100644 --- a/pkgs/development/interpreters/lune/default.nix +++ b/pkgs/development/interpreters/lune/default.nix @@ -6,30 +6,39 @@ , darwin }: +let + inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; +in rustPlatform.buildRustPackage rec { pname = "lune"; - version = "0.7.11"; + version = "0.8.0"; src = fetchFromGitHub { owner = "filiptibell"; repo = "lune"; rev = "v${version}"; - hash = "sha256-5agoAXeO16/CihsgvUHt+pgA+/ph6PualTY6xqDQbeU="; + hash = "sha256-ZVETw+GdkrR2V8RrHAWBR+avAuN0158DlJkYBquju8E="; fetchSubmodules = true; }; - cargoHash = "sha256-kPBPxlsicoFDyOsuJWhvQHDC2uwYQqpd7S+kQPRd8DY="; + cargoHash = "sha256-zOjDT8Sn/p3YaG+dWyYxSWUOo11p9/WG3EyNagZRtQQ="; nativeBuildInputs = [ pkg-config ]; buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security + Security + SystemConfiguration ]; + # error: linker `aarch64-linux-gnu-gcc` not found + postPatch = '' + rm .cargo/config.toml + ''; + checkFlags = [ - # these all require internet access + # require internet access "--skip=tests::net_request_codes" "--skip=tests::net_request_compression" "--skip=tests::net_request_methods" @@ -40,15 +49,17 @@ rustPlatform.buildRustPackage rec { "--skip=tests::roblox_instance_custom_async" "--skip=tests::serde_json_decode" - # this tries to use the root directory as the CWD + # uses root as the CWD "--skip=tests::process_spawn_cwd" ]; meta = with lib; { description = "A standalone Luau script runtime"; - homepage = "https://github.com/filiptibell/lune"; - changelog = "https://github.com/filiptibell/lune/blob/${src.rev}/CHANGELOG.md"; + homepage = "https://github.com/lune-org/lune"; + changelog = "https://github.com/lune-org/lune/blob/${src.rev}/CHANGELOG.md"; license = licenses.mpl20; maintainers = with maintainers; [ lammermann ]; + # note: Undefined symbols for architecture x86_64 + broken = stdenv.isDarwin; }; } |