2022-12-28 21:21:41 +00:00
|
|
|
{ self, callPackage, fetchFromGitHub, lib, passthruFun }:
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
callPackage ./default.nix {
|
2023-10-09 19:29:22 +00:00
|
|
|
# The patch version is the timestamp of the git commit,
|
|
|
|
# obtain via `cat $(nix-build -A luajit_2_0.src)/.relver`
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "2.0.1713483859";
|
2023-01-11 07:51:40 +00:00
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LuaJIT";
|
|
|
|
repo = "LuaJIT";
|
2024-06-20 14:57:18 +00:00
|
|
|
rev = "9b5e837ac2dfdc0638830c048a47ca9378c504d3";
|
|
|
|
hash = "sha256-GflF/sELSNanc9G4WMzoOadUBOFSs6OwqhAXa4sudWA=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
extraMeta = {
|
|
|
|
# this isn't precise but it at least stops the useless Hydra build
|
2021-09-18 10:52:07 +00:00
|
|
|
platforms = with lib; filter (p: !hasPrefix "aarch64-" p)
|
2020-04-24 23:36:52 +00:00
|
|
|
(platforms.linux ++ platforms.darwin);
|
|
|
|
};
|
2022-12-28 21:21:41 +00:00
|
|
|
inherit self passthruFun;
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|