depot/pkgs/development/interpreters/luajit/2.0.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

21 lines
666 B
Nix

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