Commit c14fb905 authored by Benjamin Kober's avatar Benjamin Kober Committed by Anderson Torres
Browse files

lune: init at version 0.7.4

parent a3ed3346
Loading
Loading
Loading
Loading
+2902 −0

File added.

Preview size limit exceeded, changes collapsed.

+43 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, darwin
}:

rustPlatform.buildRustPackage rec {
  pname = "lune";
  version = "0.7.4";

  src = fetchFromGitHub {
    owner = "filiptibell";
    repo = "lune";
    rev = "v${version}";
    hash = "sha256-um8XsXT0O+gTORrJAVlTku6YURh0wljLaQ7fueF+AoQ=";
    fetchSubmodules = true;
  };

  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "rbx_binary-0.7.0" = "sha256-bwGCQMXN8VdycsyS7Om/9CKMkamAa0eBK2I2aPZ/sZs=";
    };
  };

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = lib.optionals stdenv.isDarwin [
    darwin.apple_sdk.frameworks.Security
  ];

  meta = with lib; {
    description = "A standalone Luau script runtime";
    homepage = "https://github.com/filiptibell/lune";
    changelog = "https://github.com/filiptibell/lune/blob/${src.rev}/CHANGELOG.md";
    license = licenses.mpl20;
    maintainers = with maintainers; [ lammermann ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -17428,6 +17428,8 @@ with pkgs;
  luau = callPackage ../development/interpreters/luau { };
  lune = callPackage ../development/interpreters/lune { };
  toluapp = callPackage ../development/tools/toluapp {
    lua = lua5_1; # doesn't work with any other :(
  };