diff --git a/pkgs/development/interpreters/lunatic/default.nix b/pkgs/development/interpreters/lunatic/default.nix index 388a40b55808..e68240bb041a 100644 --- a/pkgs/development/interpreters/lunatic/default.nix +++ b/pkgs/development/interpreters/lunatic/default.nix @@ -1,20 +1,22 @@ -{ lib, rustPlatform, fetchFromGitHub, cmake }: +{ lib, rustPlatform, fetchFromGitHub, cmake, stdenv, Security }: rustPlatform.buildRustPackage rec { pname = "lunatic"; - version = "0.9.0"; + version = "0.10.0"; src = fetchFromGitHub { owner = "lunatic-solutions"; repo = pname; rev = "v${version}"; - sha256 = "sha256-gHG8jk23qTANbLNPH4Q+YusEkDZ/G33SARAsLVLrVPs="; + sha256 = "sha256-MfN4NZIkzQji+bIfpgDdVyGXiD291ULGT2JslSevr/w="; }; - cargoSha256 = "sha256-keu9lNYuOruU58YBPyqtDqBS/jjruK9GcYrKv7dGmlQ="; + cargoSha256 = "sha256-Qpu6FKIrDZyEbcv/uRjInz6lmMeTSZvY/JGLJe+My+U="; nativeBuildInputs = [ cmake ]; + buildInputs = lib.optional stdenv.isDarwin Security; + meta = with lib; { description = "An Erlang inspired runtime for WebAssembly"; homepage = "https://lunatic.solutions"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 56bff6bb6d91..359aff33b8ae 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8493,7 +8493,9 @@ with pkgs; lshw = callPackage ../tools/system/lshw { }; - lunatic = callPackage ../development/interpreters/lunatic { }; + lunatic = callPackage ../development/interpreters/lunatic { + inherit (darwin.apple_sdk.frameworks) Security; + }; lv = callPackage ../tools/text/lv { };