mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
luarocks-nix: init
luarocks-nix is a fork of luarocks that adds a "nix" command capable of converting luarocks package descriptions into nix derivations (though nixpkgs is still missing the lua infrastructure).
This commit is contained in:
parent
d7a48fc80d
commit
15a8719d40
9
pkgs/development/tools/misc/luarocks/luarocks-nix.nix
Normal file
9
pkgs/development/tools/misc/luarocks/luarocks-nix.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ luarocks, fetchFromGitHub }:
|
||||
luarocks.overrideAttrs(old: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "teto";
|
||||
repo = "luarocks";
|
||||
rev = "d669e8e118e6ca8bff05f32dbc9e5589e6ac45d2";
|
||||
sha256 = "1lay3905a5sx2a4y68lbys0913qs210hcj9kn2lbqinw86c1vyc3";
|
||||
};
|
||||
})
|
@ -7860,6 +7860,7 @@ in
|
||||
luajit luajit_2_0 luajit_2_1;
|
||||
|
||||
luarocks = luaPackages.luarocks;
|
||||
luarocks-nix = luaPackages.luarocks-nix;
|
||||
|
||||
toluapp = callPackage ../development/tools/toluapp {
|
||||
lua = lua5_1; # doesn't work with any other :(
|
||||
|
@ -43,6 +43,8 @@ let
|
||||
inherit lua;
|
||||
};
|
||||
|
||||
luarocks-nix = callPackage ../development/tools/misc/luarocks/luarocks-nix.nix { };
|
||||
|
||||
basexx = buildLuaPackage rec {
|
||||
version = "0.4.0";
|
||||
name = "basexx-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user