2021-12-06 16:07:01 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, cmake, stdenv }:
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lunatic";
|
2022-01-19 23:45:15 +00:00
|
|
|
version = "0.7.4";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lunatic-solutions";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-19 23:45:15 +00:00
|
|
|
sha256 = "sha256-RX8JarGpY6dhPGpvOX1FuUjirEPff0wGqLkGFxOa+bc=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
cargoSha256 = "sha256-UvrDqxaZSgUJ/a6abigTuiUOfw+C7UolBApt5kVR+yo=";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An Erlang inspired runtime for WebAssembly";
|
|
|
|
homepage = "https://lunatic.solutions";
|
2021-12-06 16:07:01 +00:00
|
|
|
changelog = "https://github.com/lunatic-solutions/lunatic/blob/v${version}/RELEASES.md";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = with licenses; [ mit /* or */ asl20 ];
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2021-12-06 16:07:01 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
}
|