2022-12-19 07:27:58 +00:00
|
|
|
{ self, callPackage, fetchFromGitHub, lib, passthruFun }:
|
|
|
|
|
2023-09-02 07:45:12 +00:00
|
|
|
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";
|
2022-12-19 07:40:49 +00:00
|
|
|
|
2022-12-19 07:27:58 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LuaJIT";
|
|
|
|
repo = "LuaJIT";
|
2023-09-02 07:45:12 +00:00
|
|
|
rev = "c6ee7e19d107b4f9a140bb2ccf99162e26318c69";
|
|
|
|
hash = "sha256-3/7ASZRniytw5RkOy0F9arHkZevq6dxmya+Ba3A5IIA=";
|
2022-12-19 07:27:58 +00:00
|
|
|
};
|
|
|
|
|
2019-10-13 11:57:48 +00:00
|
|
|
extraMeta = { # this isn't precise but it at least stops the useless Hydra build
|
2021-08-26 10:55:08 +00:00
|
|
|
platforms = with lib; filter (p: !hasPrefix "aarch64-" p)
|
2019-10-13 11:57:48 +00:00
|
|
|
(platforms.linux ++ platforms.darwin);
|
2019-01-30 14:13:15 +00:00
|
|
|
};
|
2022-12-19 07:27:58 +00:00
|
|
|
inherit self passthruFun;
|
2019-01-30 14:13:15 +00:00
|
|
|
}
|