Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / interpreters / luajit / 2.0.nix
blob29ad88f0ec16074b224fe8951f65e7492a52a552
1 { self, callPackage, fetchFromGitHub, lib, passthruFun }:
3 callPackage ./default.nix rec {
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.1693340858";
8   src = fetchFromGitHub {
9     owner = "LuaJIT";
10     repo = "LuaJIT";
11     rev = "c6ee7e19d107b4f9a140bb2ccf99162e26318c69";
12     hash = "sha256-3/7ASZRniytw5RkOy0F9arHkZevq6dxmya+Ba3A5IIA=";
13   };
15   extraMeta = { # this isn't precise but it at least stops the useless Hydra build
16     platforms = with lib; filter (p: !hasPrefix "aarch64-" p)
17       (platforms.linux ++ platforms.darwin);
18   };
19   inherit self passthruFun;