mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
added lua-filesystem-1.6.2
This commit is contained in:
parent
ce623950ad
commit
e0fc4e7734
26
pkgs/development/interpreters/lua-5/filesystem.nix
Normal file
26
pkgs/development/interpreters/lua-5/filesystem.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchurl, lua5 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.6.2";
|
||||
name = "lua-filesystem-${version}";
|
||||
isLibrary = true;
|
||||
src = fetchurl {
|
||||
url = "https://github.com/keplerproject/luafilesystem/archive/v1_6_2.tar.gz";
|
||||
sha256 = "1n8qdwa20ypbrny99vhkmx8q04zd2jjycdb5196xdhgvqzk10abz";
|
||||
};
|
||||
|
||||
buildInputs = [ lua5 ];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=(
|
||||
PREFIX=$out
|
||||
LUA_LIBDIR="$out/lib/lua/${lua5.luaversion}"
|
||||
LUA_INC="-I${lua5}/include");
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/keplerproject/luafilesystem";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.flosse ];
|
||||
};
|
||||
}
|
@ -3465,6 +3465,7 @@ let
|
||||
|
||||
lua5_sockets = callPackage ../development/interpreters/lua-5/sockets.nix {};
|
||||
lua5_expat = callPackage ../development/interpreters/lua-5/expat.nix {};
|
||||
lua5_filesystem = callPackage ../development/interpreters/lua-5/filesystem.nix {};
|
||||
|
||||
luarocks = callPackage ../development/tools/misc/luarocks {
|
||||
lua = lua5;
|
||||
|
Loading…
Reference in New Issue
Block a user