2014-07-01 13:34:08 +02:00
|
|
|
{ stdenv, fetchurl, lua5 }:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2014-07-01 13:34:08 +02:00
|
|
|
version = "1.6.2";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "lua-filesystem";
|
2014-07-01 13:34:08 +02:00
|
|
|
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 = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/keplerproject/luafilesystem";
|
2014-08-09 15:00:06 +02:00
|
|
|
hydraPlatforms = stdenv.lib.platforms.linux;
|
2017-11-06 15:58:59 +01:00
|
|
|
maintainers = [ ];
|
2014-07-01 13:34:08 +02:00
|
|
|
};
|
|
|
|
}
|