about summary refs log tree commit diff
path: root/pkgs/development/interpreters/lunatic
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-08-04 09:11:51 +0800
committerfigsoda <figsoda@pm.me>2022-08-10 15:21:25 +0800
commit41c5b671d6fc7368da3625b24e8ee24b526c5b77 (patch)
tree13b44681ee207354925775160e10778eb3bbe99f /pkgs/development/interpreters/lunatic
parent0e0cc471928c9f20253b5c02ccab0829315e66b1 (diff)
lunatic: 0.9.0 -> 0.10.0
Diffstat (limited to 'pkgs/development/interpreters/lunatic')
-rw-r--r--pkgs/development/interpreters/lunatic/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/interpreters/lunatic/default.nix b/pkgs/development/interpreters/lunatic/default.nix
index 388a40b55808a..e68240bb041af 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";