Merge pull request #148153 from figsoda/update-lunatic

lunatic: 0.6.2 -> 0.7.0
This commit is contained in:
figsoda 2021-12-02 08:38:18 -05:00 committed by GitHub
commit d60631d4ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,33 +1,24 @@
{ lib, rustPlatform, fetchFromGitHub, fetchpatch, cmake, stdenv }:
{ lib, rustPlatform, fetchFromGitHub, cmake, stdenv }:
rustPlatform.buildRustPackage rec {
pname = "lunatic";
version = "0.6.2";
version = "0.7.0";
src = fetchFromGitHub {
owner = "lunatic-solutions";
repo = pname;
rev = "v${version}";
sha256 = "1dz8v19jw9v55p3mz4932v6z24ihp6wk238n4d4lx9xj91mf3g6r";
sha256 = "sha256-+4014p+4QJ7nytFHHszAOYQHXLYXqR+Cip+vHxsH9l8=";
};
cargoPatches = [
# NOTE: remove on next update
# update dependencies to resolve incompatibility with rust 1.56
(fetchpatch {
name = "update-wasmtime.patch";
url = "https://github.com/lunatic-solutions/lunatic/commit/cd8db51732712c19a8114db290882d1bb6b928c0.patch";
sha256 = "sha256-eyoIOTqGSU/XNfF55FG+WrQPSMvt9L/S/KBsUQB5z1k=";
})
];
cargoSha256 = "sha256-yoG4gCk+nHE8pBqV6ND9NCegx4bxbdGEU5hY5JauloM=";
cargoSha256 = "sha256-RnaAiumTP4cW2eHUbnwyPdgJQLK65gqDI/NP2SOrO4E=";
nativeBuildInputs = [ cmake ];
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";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
broken = stdenv.isDarwin;