luaPackages.readline: init at 2.6-0 (#91854)
This commit is contained in:
parent
5bb1198ccc
commit
a1bea5278d
@ -74,6 +74,7 @@ moonscript,,,,,arobyn
|
||||
nvim-client,,,,,
|
||||
penlight,,,,,
|
||||
rapidjson,,,,,
|
||||
readline,,,,,
|
||||
say,,,,,
|
||||
std__debug,std._debug,,,,
|
||||
std_normalize,std.normalize,,,,
|
||||
|
|
@ -1407,6 +1407,23 @@ rapidjson = buildLuarocksPackage {
|
||||
license.fullName = "MIT";
|
||||
};
|
||||
};
|
||||
readline = buildLuarocksPackage {
|
||||
pname = "readline";
|
||||
version = "2.6-0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://luarocks/readline-2.6-0.src.rock;
|
||||
sha256 = "1fvz7nqvkdazp30wn5n62n8i97qrfgznbykdpf8cnflqfpd1shms";
|
||||
};
|
||||
disabled = (luaOlder "5.1") || (luaAtLeast "5.4");
|
||||
propagatedBuildInputs = [ lua luaposix ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.pjb.com.au/comp/lua/readline.html";
|
||||
description = "Interface to the readline library";
|
||||
license.fullName = "MIT/X11";
|
||||
};
|
||||
};
|
||||
say = buildLuarocksPackage {
|
||||
pname = "say";
|
||||
version = "1.3-1";
|
||||
|
@ -328,6 +328,23 @@ with super;
|
||||
'';
|
||||
});
|
||||
|
||||
readline = (super.readline.override ({
|
||||
unpackCmd = ''
|
||||
unzip "$curSrc"
|
||||
tar xf *.tar.gz
|
||||
'';
|
||||
propagatedBuildInputs = super.readline.propagatedBuildInputs ++ [ pkgs.readline ];
|
||||
extraVariables = rec {
|
||||
READLINE_INCDIR = "${pkgs.readline.dev}/include";
|
||||
HISTORY_INCDIR = READLINE_INCDIR;
|
||||
};
|
||||
})).overrideAttrs (old: {
|
||||
# Without this, source root is wrongly set to ./readline-2.6/doc
|
||||
setSourceRoot = ''
|
||||
sourceRoot=./readline-2.6
|
||||
'';
|
||||
});
|
||||
|
||||
pulseaudio = super.pulseaudio.override({
|
||||
buildInputs = [
|
||||
pkgs.libpulseaudio
|
||||
|
Loading…
Reference in New Issue
Block a user