2022-07-28 04:50:42 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, cmake }:
|
2021-09-13 22:10:46 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lunatic";
|
2022-07-28 03:37:02 +00:00
|
|
|
version = "0.9.0";
|
2021-09-13 22:10:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lunatic-solutions";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-07-28 03:37:02 +00:00
|
|
|
sha256 = "sha256-gHG8jk23qTANbLNPH4Q+YusEkDZ/G33SARAsLVLrVPs=";
|
2021-09-13 22:10:46 +00:00
|
|
|
};
|
|
|
|
|
2022-07-28 03:37:02 +00:00
|
|
|
cargoSha256 = "sha256-keu9lNYuOruU58YBPyqtDqBS/jjruK9GcYrKv7dGmlQ=";
|
2021-09-13 22:10:46 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An Erlang inspired runtime for WebAssembly";
|
|
|
|
homepage = "https://lunatic.solutions";
|
2021-12-01 13:09:07 +00:00
|
|
|
changelog = "https://github.com/lunatic-solutions/lunatic/blob/v${version}/RELEASES.md";
|
2021-09-13 22:10:46 +00:00
|
|
|
license = with licenses; [ mit /* or */ asl20 ];
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|