diff options
author | figsoda <figsoda@pm.me> | 2021-09-13 18:10:46 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2021-09-16 07:57:33 -0400 |
commit | 9bd8dc43f5fffca3d83153ed21ae5230415b6cfe (patch) | |
tree | 2868601849ca1a8908b1e49a670d9bbd8c98dd1f /pkgs/development/interpreters/lunatic | |
parent | dc73ffe1bdf50d1fc2402a688411c1e43a0bfb25 (diff) |
lunatic: init at 0.6.2
Diffstat (limited to 'pkgs/development/interpreters/lunatic')
-rw-r--r-- | pkgs/development/interpreters/lunatic/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/lunatic/default.nix b/pkgs/development/interpreters/lunatic/default.nix new file mode 100644 index 0000000000000..39e8323e194c7 --- /dev/null +++ b/pkgs/development/interpreters/lunatic/default.nix @@ -0,0 +1,24 @@ +{ cmake, fetchFromGitHub, lib, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "lunatic"; + version = "0.6.2"; + + src = fetchFromGitHub { + owner = "lunatic-solutions"; + repo = pname; + rev = "v${version}"; + sha256 = "1dz8v19jw9v55p3mz4932v6z24ihp6wk238n4d4lx9xj91mf3g6r"; + }; + + cargoSha256 = "1rkxl27l6ydmcq3flc6qbnd7zmpkfmyc86b8q4pi7dwhqnd5g70g"; + + nativeBuildInputs = [ cmake ]; + + meta = with lib; { + description = "An Erlang inspired runtime for WebAssembly"; + homepage = "https://lunatic.solutions"; + license = with licenses; [ mit /* or */ asl20 ]; + maintainers = with maintainers; [ figsoda ]; + }; +} |