2021-12-01 13:09:07 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, cmake, stdenv }:
|
2021-09-13 22:10:46 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lunatic";
|
2022-01-24 18:22:39 +00:00
|
|
|
version = "0.7.5";
|
2021-09-13 22:10:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lunatic-solutions";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-24 18:22:39 +00:00
|
|
|
sha256 = "sha256-HqDrGoyYzdx8OTanlRd95L1wAtFeew7Xs2rZ7nK2Zus=";
|
2021-09-13 22:10:46 +00:00
|
|
|
};
|
|
|
|
|
2022-01-24 18:22:39 +00:00
|
|
|
cargoSha256 = "sha256-t3EwVYrKx7dvUcSp0B1iUAklg7WdQDld/T0O1HgHw54=";
|
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 ];
|
2021-11-15 14:05:31 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2021-09-13 22:10:46 +00:00
|
|
|
};
|
|
|
|
}
|