luaPackages.luazip: 2007-10-30 -> 1.2.7

This commit is contained in:
Matthieu Coudron
2019-06-05 13:21:38 +09:00
parent 62d4e044e7
commit 704358dcb5
4 changed files with 23 additions and 27 deletions

View File

@@ -614,6 +614,25 @@ luaffi = buildLuarocksPackage {
};
};
};
luazip = buildLuarocksPackage {
pname = "luazip";
version = "1.2.7-1";
src = fetchurl {
url = https://luarocks.org/luazip-1.2.7-1.src.rock;
sha256 = "1yprlr1ap6bhshhy88qfphmmyg9zp1py2hj2158iw6vsva0fk03l";
};
disabled = (luaOlder "5.1") || (luaAtLeast "5.4");
propagatedBuildInputs = [ lua ];
meta = {
homepage = "https://github.com/mpeterv/luazip";
description = "Library for reading files inside zip files";
license = {
fullName = "MIT";
};
};
};
luuid = buildLuarocksPackage {
pname = "luuid";
version = "20120509-2";

View File

@@ -46,6 +46,9 @@ with super;
lua-iconv = super.lua-iconv.override({
buildInputs = [ pkgs.libiconv ];
});
luazip = super.luazip.override({
buildInputs = [ pkgs.zziplib ];
});
luv = super.luv.overrideAttrs(oa: {
# Use system libuv instead of building local and statically linking
# This is a hacky way to specify -DWITH_SHARED_LIBUV=ON which