nixpkgs/pkgs/development/tools/misc/luarocks/luarocks-nix.nix
Matthieu Coudron 426ebe81e2 luarocks-nix: unstable-2022-10-12 -> unstable-2023-02-26
generates slightly better derivations
2023-02-26 23:33:35 +01:00

24 lines
498 B
Nix

{ luarocks, fetchFromGitHub, unstableGitUpdater }:
luarocks.overrideAttrs (old: {
pname = "luarocks-nix";
version = "unstable-2023-02-26";
src = fetchFromGitHub {
owner = "nix-community";
repo = "luarocks-nix";
rev = "4cfea3d5d826db4cfbc809ef8bb5f0a9f3a18919";
sha256 = "sha256-7L8B+/C7Kzt25Ec+OsM2rliYB2/wyZQ3OT63V7AaOxo=";
};
patches = [ ];
passthru = {
updateScript = unstableGitUpdater { };
};
meta = old.meta // {
mainProgram = "luarocks";
};
})