nixpkgs/pkgs/development/interpreters/lunatic/default.nix

27 lines
778 B
Nix
Raw Normal View History

2021-12-01 13:09:07 +00:00
{ lib, rustPlatform, fetchFromGitHub, cmake, stdenv }:
2021-09-13 23:10:46 +01:00
rustPlatform.buildRustPackage rec {
pname = "lunatic";
2021-12-01 13:09:07 +00:00
version = "0.7.0";
2021-09-13 23:10:46 +01:00
src = fetchFromGitHub {
owner = "lunatic-solutions";
repo = pname;
rev = "v${version}";
2021-12-01 13:09:07 +00:00
sha256 = "sha256-+4014p+4QJ7nytFHHszAOYQHXLYXqR+Cip+vHxsH9l8=";
2021-09-13 23:10:46 +01:00
};
2021-12-01 13:09:07 +00:00
cargoSha256 = "sha256-RnaAiumTP4cW2eHUbnwyPdgJQLK65gqDI/NP2SOrO4E=";
2021-09-13 23:10:46 +01: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 23:10:46 +01: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 23:10:46 +01:00
};
}