Merge pull request #185125 from figsoda/update-lunatic

lunatic: 0.9.0 -> 0.10.0
This commit is contained in:
figsoda 2022-08-10 16:07:44 +08:00 committed by GitHub
commit c1dbfeb2c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View file

@ -1,20 +1,22 @@
{ lib, rustPlatform, fetchFromGitHub, cmake }: { lib, rustPlatform, fetchFromGitHub, cmake, stdenv, Security }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "lunatic"; pname = "lunatic";
version = "0.9.0"; version = "0.10.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lunatic-solutions"; owner = "lunatic-solutions";
repo = pname; repo = pname;
rev = "v${version}"; 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 ]; nativeBuildInputs = [ cmake ];
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; { meta = with lib; {
description = "An Erlang inspired runtime for WebAssembly"; description = "An Erlang inspired runtime for WebAssembly";
homepage = "https://lunatic.solutions"; homepage = "https://lunatic.solutions";

View file

@ -8493,7 +8493,9 @@ with pkgs;
lshw = callPackage ../tools/system/lshw { }; 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 { }; lv = callPackage ../tools/text/lv { };