Unverified Commit a0526d20 authored by Kenichi Kamiya's avatar Kenichi Kamiya
Browse files
parent 9a5ae6ec
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -6,21 +6,22 @@
  openssl,
  stdenv,
  darwin,
  unstableGitUpdater,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
  pname = "lunatic";
  version = "0.13.2";
  version = "0.13.2-unstable-2025-03-29";

  src = fetchFromGitHub {
    owner = "lunatic-solutions";
    repo = "lunatic";
    rev = "v${version}";
    hash = "sha256-uMMssZaPDZn3bOtQIho+GvUCPmzRllv7eJ+SJuKaYtg=";
    rev = "28a2f387ebf6a64ce4b87e2638812e2c032d5049";
    hash = "sha256-FnUYnSWarQf68jBfSlIKVZbQHJt5U93MvA6rbNJE23U=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-SzfM4hQW9vTTRqCAEn/EPv9mK9WlXYRFUW8pA/Gfw04=";
  cargoHash = "sha256-+2koGrhM9VMLh8uO1YcaugcfmZaCP4S2twKem+y2oks=";

  nativeBuildInputs = [
    pkg-config
@@ -39,10 +40,15 @@ rustPlatform.buildRustPackage rec {
    "--skip=state::tests::import_filter_signature_matches"
  ];

  passthru.updateScript = unstableGitUpdater {
    tagPrefix = "v";
    branch = "main";
  };

  meta = with lib; {
    description = "Erlang inspired runtime for WebAssembly";
    homepage = "https://lunatic.solutions";
    changelog = "https://github.com/lunatic-solutions/lunatic/blob/v${version}/CHANGELOG.md";
    changelog = "https://github.com/lunatic-solutions/lunatic/blob/main/CHANGELOG.md";
    license = with licenses; [
      mit # or
      asl20