depot/third_party/nixpkgs/pkgs/development/interpreters/luajit/2.0.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

20 lines
660 B
Nix

{ self, callPackage, fetchFromGitHub, lib, passthruFun }:
callPackage ./default.nix rec {
# The patch version is the timestamp of the git commit,
# obtain via `cat $(nix-build -A luajit_2_0.src)/.relver`
version = "2.0.1693340858";
src = fetchFromGitHub {
owner = "LuaJIT";
repo = "LuaJIT";
rev = "c6ee7e19d107b4f9a140bb2ccf99162e26318c69";
hash = "sha256-3/7ASZRniytw5RkOy0F9arHkZevq6dxmya+Ba3A5IIA=";
};
extraMeta = { # this isn't precise but it at least stops the useless Hydra build
platforms = with lib; filter (p: !hasPrefix "aarch64-" p)
(platforms.linux ++ platforms.darwin);
};
inherit self passthruFun;
}