depot/third_party/nixpkgs/pkgs/development/tools/misc/luarocks/luarocks-nix.nix

24 lines
486 B
Nix
Raw Normal View History

{ luarocks, fetchFromGitHub, unstableGitUpdater }:
luarocks.overrideAttrs (old: {
pname = "luarocks-nix";
version = "unstable-2022-10-12";
src = fetchFromGitHub {
owner = "nix-community";
repo = "luarocks-nix";
rev = "7b3cc90ebf07813ed511f530cc50d602e9502001";
sha256 = "sha256-zN+8BzUkKUQU/6BWg1kcsL3XV9qehnwm1L4vRKOejPs=";
};
patches = [ ];
passthru = {
updateScript = unstableGitUpdater { };
};
meta = {
mainProgram = "luarocks";
};
})