mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
parent
38dc5f0137
commit
9b4b3c2959
@ -76,6 +76,7 @@ lualdap,,,,,,aanderse
|
||||
lualogging,,,,,,
|
||||
luaossl,,,,,5.1,
|
||||
luaposix,,,,34.1.1-1,,vyp lblasc
|
||||
luaprompt,,,,,,Freed-Wu
|
||||
luarepl,,,,,,
|
||||
luarocks,,,,,,mrcjkb teto
|
||||
luarocks-build-rust-mlua,,,,,,mrcjkb
|
||||
|
|
@ -1867,6 +1867,31 @@ buildLuarocksPackage {
|
||||
};
|
||||
}) {};
|
||||
|
||||
luaprompt = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }:
|
||||
buildLuarocksPackage {
|
||||
pname = "luaprompt";
|
||||
version = "0.8-1";
|
||||
knownRockspec = (fetchurl {
|
||||
url = "mirror://luarocks/luaprompt-0.8-1.rockspec";
|
||||
sha256 = "17v7yqkvm4rxszqvqk3f6a6vqysh80p18l1ryif79bc7ic948br4";
|
||||
}).outPath;
|
||||
src = fetchFromGitHub {
|
||||
owner = "dpapavas";
|
||||
repo = "luaprompt";
|
||||
rev = "v0.8";
|
||||
hash = "sha256-GdI5sj7FBeb9q23oxVOzT+yVhMYTnggaN8Xt/z/2xZo=";
|
||||
};
|
||||
|
||||
disabled = luaOlder "5.1";
|
||||
propagatedBuildInputs = [ argparse ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/dpapavas/luaprompt";
|
||||
description = "A Lua command prompt with pretty-printing and auto-completion";
|
||||
license.fullName = "MIT/X11";
|
||||
};
|
||||
}) {};
|
||||
|
||||
luaposix = callPackage({ bit32, buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }:
|
||||
buildLuarocksPackage {
|
||||
pname = "luaposix";
|
||||
|
@ -409,6 +409,12 @@ in
|
||||
];
|
||||
});
|
||||
|
||||
luaprompt = prev.luaprompt.overrideAttrs (_: {
|
||||
externalDeps = [
|
||||
{ name = "READLINE"; dep = readline; }
|
||||
{ name = "HISTORY"; dep = readline; }
|
||||
];
|
||||
});
|
||||
|
||||
# As a nix user, use this derivation instead of "luarocks_bootstrap"
|
||||
luarocks = prev.luarocks.overrideAttrs (oa: {
|
||||
|
Loading…
Reference in New Issue
Block a user