summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/luajit/2.1.nix
blob: a227695f2cc49f12cd0eab0dd2c090e193d6e898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  self,
  callPackage,
  fetchFromGitHub,
  passthruFun,
}:

callPackage ./default.nix {
  # The patch version is the timestamp of the git commit,
  # obtain via `cat $(nix-build -A luajit_2_1.src)/.relver`
  version = "2.1.1785763465";

  src = fetchFromGitHub {
    owner = "LuaJIT";
    repo = "LuaJIT";
    rev = "1edc3e52b67eaf6ce5f809be8e17d6862594b8bc";
    hash = "sha256-mcOvVJ7AaoHrbEXxznpOkFoY7Kbd2aWMoOmyx5B4FIg=";
  };

  inherit self passthruFun;
}