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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
964 B
Nix
Raw Normal View History

2022-08-04 01:11:51 +00:00
{ lib, rustPlatform, fetchFromGitHub, cmake, stdenv, Security }:
2021-09-13 22:10:46 +00:00
rustPlatform.buildRustPackage rec {
pname = "lunatic";
2022-09-26 12:59:49 +00:00
version = "0.10.1";
2021-09-13 22:10:46 +00:00
src = fetchFromGitHub {
owner = "lunatic-solutions";
repo = pname;
rev = "v${version}";
2022-09-26 12:59:49 +00:00
sha256 = "sha256-MQ10WwvUdqU4w9uA4H1+VRM29HXVtLMwfGvbM6VqS90=";
2021-09-13 22:10:46 +00:00
};
2022-09-26 12:59:49 +00:00
cargoSha256 = "sha256-tNYA3YruI7VENmLbd3rmZr7BkqHp1HNOfzPTkIiixqA=";
2021-09-13 22:10:46 +00:00
nativeBuildInputs = [ cmake ];
2022-08-04 01:11:51 +00:00
buildInputs = lib.optional stdenv.isDarwin Security;
2022-08-14 04:01:07 +00:00
checkFlags = [
# requires simd support which is not always available on hydra
"--skip=state::tests::import_filter_signature_matches"
];
2021-09-13 22:10:46 +00:00
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 ];
};
}