1 { self, callPackage, fetchFromGitHub, lib, passthruFun }:
3 callPackage ./default.nix {
4 # The patch version is the timestamp of the git commit,
5 # obtain via `cat $(nix-build -A luajit_2_0.src)/.relver`
6 version = "2.0.1713483859";
8 src = fetchFromGitHub {
11 rev = "9b5e837ac2dfdc0638830c048a47ca9378c504d3";
12 hash = "sha256-GflF/sELSNanc9G4WMzoOadUBOFSs6OwqhAXa4sudWA=";
16 # this isn't precise but it at least stops the useless Hydra build
17 platforms = lib.filter (p: !lib.hasPrefix "aarch64-" p)
18 (lib.platforms.linux ++ lib.platforms.darwin);
20 inherit self passthruFun;