Merge #60614: lua*Packages improvements

This commit is contained in:
Vladimír Čunát
2019-05-12 09:58:28 +02:00
5 changed files with 85 additions and 52 deletions

View File

@@ -76,6 +76,26 @@ basexx = buildLuarocksPackage {
};
};
};
binaryheap = buildLuarocksPackage {
pname = "binaryheap";
version = "0.4-1";
src = fetchurl {
url = https://luarocks.org/binaryheap-0.4-1.src.rock;
sha256 = "11rd8r3bpinfla2965jgjdv1hilqdc1q6g1qla5978d7vzg19kpc";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [ lua ];
buildType = "builtin";
meta = {
homepage = "https://github.com/Tieske/binaryheap.lua";
description="Binary heap implementation in pure Lua";
license = {
fullName = "MIT/X11";
};
};
};
dkjson = buildLuarocksPackage {
pname = "dkjson";
version = "2.5-2";
@@ -116,6 +136,26 @@ fifo = buildLuarocksPackage {
};
};
};
http = buildLuarocksPackage {
pname = "http";
version = "0.3-0";
src = fetchurl {
url = https://luarocks.org/http-0.3-0.src.rock;
sha256 = "0vvl687bh3cvjjwbyp9cphqqccm3slv4g7y3h03scp3vpq9q4ccq";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [ lua compat53 bit32 cqueues luaossl basexx lpeg lpeg_patterns binaryheap fifo ];
buildType = "builtin";
meta = {
homepage = "https://github.com/daurnimator/lua-http";
description="HTTP library for Lua";
license = {
fullName = "MIT";
};
};
};
inspect = buildLuarocksPackage {
pname = "inspect";
version = "3.1.1-0";