diff options
Diffstat (limited to 'pkgs/development/tools/misc/luarocks/luarocks-nix.nix')
-rw-r--r-- | pkgs/development/tools/misc/luarocks/luarocks-nix.nix | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/pkgs/development/tools/misc/luarocks/luarocks-nix.nix b/pkgs/development/tools/misc/luarocks/luarocks-nix.nix index 20acab5a8584d..d64e3c91ae7e0 100644 --- a/pkgs/development/tools/misc/luarocks/luarocks-nix.nix +++ b/pkgs/development/tools/misc/luarocks/luarocks-nix.nix @@ -1,23 +1,38 @@ -{ luarocks, fetchFromGitHub, unstableGitUpdater }: +{ luarocks +, fetchFromGitHub +, unstableGitUpdater +, nurl +, file +}: luarocks.overrideAttrs (old: { pname = "luarocks-nix"; - version = "unstable-2023-10-19"; + version = "0-unstable-2024-04-29"; src = fetchFromGitHub { owner = "nix-community"; repo = "luarocks-nix"; - rev = "4240b25b95d7165cde66fc2acaf5a0f9ad40fd0c"; - sha256 = "sha256-dqFFYehBgK0RqH0/1GtZXq7XLGCcc3Kfadq8ICYNCWk="; + rev = "a473a8f479711682f5b97a72362736d96efd463b"; + hash = "sha256-hsjv+jlLsoIDM4gB/0mFeoVu1YZ1I9ELDALLTEnlCF0="; }; + propagatedBuildInputs = old.propagatedBuildInputs ++ [ + file + nurl + ]; + patches = [ ]; passthru = { - updateScript = unstableGitUpdater { }; + updateScript = unstableGitUpdater { + # tags incompletely inherited from regular luarocks + hardcodeZeroVersion = true; + }; }; - meta = old.meta // { + # old.meta // { /* ... */ } doesn't update meta.position, which breaks the updateScript + meta = { + inherit (old.meta) description license maintainers platforms; mainProgram = "luarocks"; }; }) |