1{
2 self,
3 callPackage,
4 fetchFromGitHub,
5 lib,
6 passthruFun,
7}:
8
9callPackage ./default.nix {
10 # The patch version is the timestamp of the git commit,
11 # obtain via `cat $(nix-build -A luajit_2_0.src)/.relver`
12 version = "2.0.1741557863";
13
14 src = fetchFromGitHub {
15 owner = "LuaJIT";
16 repo = "LuaJIT";
17 rev = "85c3f2fb6f59276ebf07312859a69d6d5a897f62";
18 hash = "sha256-5UIZ650M/0W08iX1ajaHvDbNgjbzZJ1akVwNbiDUeyY=";
19 };
20
21 extraMeta = {
22 # this isn't precise but it at least stops the useless Hydra build
23 platforms = lib.filter (p: !lib.hasPrefix "aarch64-" p) (
24 lib.platforms.linux ++ lib.platforms.darwin
25 );
26 };
27 inherit self passthruFun;
28}