From 41c5b671d6fc7368da3625b24e8ee24b526c5b77 Mon Sep 17 00:00:00 2001 From: figsoda Date: Thu, 4 Aug 2022 09:11:51 +0800 Subject: [PATCH] lunatic: 0.9.0 -> 0.10.0 --- pkgs/development/interpreters/lunatic/default.nix | 10 ++++++---- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 9 insertions(+), 5 deletions(-) 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 653945e43dfe..c8c7ef41e99c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8459,7 +8459,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 { };