diff options
author | figsoda <figsoda@pm.me> | 2023-05-03 16:26:35 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-05-03 16:38:10 -0400 |
commit | f450ee1472cc5e7b001f8020484d8a8da2002cb6 (patch) | |
tree | 0d1fa48901d2a524183f2e2d1fe5ba059e19d330 /pkgs/development/interpreters/lunatic | |
parent | 69259eec2334d066e3a6563ced278c283a618a2d (diff) |
lunatic: 0.12.0 -> 0.13.2
Diff: https://github.com/lunatic-solutions/lunatic/compare/v0.12.0...v0.13.2 Changelog: https://github.com/lunatic-solutions/lunatic/blob/v0.13.2/CHANGELOG.md
Diffstat (limited to 'pkgs/development/interpreters/lunatic')
-rw-r--r-- | pkgs/development/interpreters/lunatic/default.nix | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/pkgs/development/interpreters/lunatic/default.nix b/pkgs/development/interpreters/lunatic/default.nix index b056b7a133b4f..637c7710975e4 100644 --- a/pkgs/development/interpreters/lunatic/default.nix +++ b/pkgs/development/interpreters/lunatic/default.nix @@ -1,19 +1,34 @@ -{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }: +{ lib +, rustPlatform +, fetchFromGitHub +, pkg-config +, openssl +, stdenv +, darwin +}: rustPlatform.buildRustPackage rec { pname = "lunatic"; - version = "0.12.0"; + version = "0.13.2"; src = fetchFromGitHub { owner = "lunatic-solutions"; repo = pname; rev = "v${version}"; - sha256 = "sha256-7fxccufM5tunbutABEtsa6++OLTsS72oA219zvf+KN8="; + hash = "sha256-uMMssZaPDZn3bOtQIho+GvUCPmzRllv7eJ+SJuKaYtg="; }; - cargoSha256 = "sha256-sHSQUvHTwyqMrGmwpblqpS4HfFiWGb+70a1uloDu2wY="; + cargoHash = "sha256-ALjlQsxmZVREyi3ZGMJMv/38kkMjYh+hTSr/0avYJVs="; - buildInputs = lib.optional stdenv.isDarwin Security; + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + openssl + ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security + ]; checkFlags = [ # requires simd support which is not always available on hydra @@ -23,7 +38,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An Erlang inspired runtime for WebAssembly"; homepage = "https://lunatic.solutions"; - changelog = "https://github.com/lunatic-solutions/lunatic/blob/v${version}/RELEASES.md"; + changelog = "https://github.com/lunatic-solutions/lunatic/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ figsoda ]; }; |