01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
30 lines
923 B
Nix
30 lines
923 B
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "lunatic";
|
|
version = "0.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lunatic-solutions";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-7fxccufM5tunbutABEtsa6++OLTsS72oA219zvf+KN8=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-sHSQUvHTwyqMrGmwpblqpS4HfFiWGb+70a1uloDu2wY=";
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
checkFlags = [
|
|
# requires simd support which is not always available on hydra
|
|
"--skip=state::tests::import_filter_signature_matches"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "An Erlang inspired runtime for WebAssembly";
|
|
homepage = "https://lunatic.solutions";
|
|
changelog = "https://github.com/lunatic-solutions/lunatic/blob/v${version}/RELEASES.md";
|
|
license = with licenses; [ mit /* or */ asl20 ];
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|