3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/lua-5/filesystem.nix

27 lines
627 B
Nix
Raw Normal View History

2014-07-01 12:34:08 +01:00
{ stdenv, fetchurl, lua5 }:
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2014-07-01 12:34:08 +01:00
version = "1.6.2";
pname = "lua-filesystem";
2014-07-01 12:34:08 +01: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 = {
homepage = "https://github.com/keplerproject/luafilesystem";
hydraPlatforms = stdenv.lib.platforms.linux;
maintainers = [ ];
2014-07-01 12:34:08 +01:00
};
}