mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-19 16:09:19 +03:00
lua51Packages.lualine-nvim: init (#382668)
This commit is contained in:
commit
faa638183d
6 changed files with 43 additions and 14 deletions
|
@ -81,6 +81,7 @@ luaexpat,,,,1.4.1-1,,arobyn flosse
|
||||||
luaffi,,,http://luarocks.org/dev,,,
|
luaffi,,,http://luarocks.org/dev,,,
|
||||||
luafilesystem,,,,1.8.0-1,,flosse
|
luafilesystem,,,,1.8.0-1,,flosse
|
||||||
lualdap,,,,,,aanderse
|
lualdap,,,,,,aanderse
|
||||||
|
lualine.nvim,,,http://luarocks.org/dev,,,
|
||||||
lualogging,,,,,,
|
lualogging,,,,,,
|
||||||
luaossl,,,,,5.1,
|
luaossl,,,,,5.1,
|
||||||
luaposix,,,,34.1.1-1,,vyp lblasc
|
luaposix,,,,34.1.1-1,,vyp lblasc
|
||||||
|
|
|
|
@ -7051,19 +7051,6 @@ final: prev:
|
||||||
meta.hydraPlatforms = [ ];
|
meta.hydraPlatforms = [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
lualine-nvim = buildVimPlugin {
|
|
||||||
pname = "lualine.nvim";
|
|
||||||
version = "2025-02-08";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "nvim-lualine";
|
|
||||||
repo = "lualine.nvim";
|
|
||||||
rev = "f4f791f67e70d378a754d02da068231d2352e5bc";
|
|
||||||
sha256 = "12jm3vc3mi0p9kjw7g1cd6a9nkgws1mvq2h7lpfmflad8zfmw35q";
|
|
||||||
};
|
|
||||||
meta.homepage = "https://github.com/nvim-lualine/lualine.nvim/";
|
|
||||||
meta.hydraPlatforms = [ ];
|
|
||||||
};
|
|
||||||
|
|
||||||
luasnip-latex-snippets-nvim = buildVimPlugin {
|
luasnip-latex-snippets-nvim = buildVimPlugin {
|
||||||
pname = "luasnip-latex-snippets.nvim";
|
pname = "luasnip-latex-snippets.nvim";
|
||||||
version = "2024-11-25";
|
version = "2024-11-25";
|
||||||
|
|
|
@ -4004,6 +4004,7 @@ in
|
||||||
"gitsigns-nvim"
|
"gitsigns-nvim"
|
||||||
"image-nvim"
|
"image-nvim"
|
||||||
"lsp-progress-nvim"
|
"lsp-progress-nvim"
|
||||||
|
"lualine-nvim"
|
||||||
"luasnip"
|
"luasnip"
|
||||||
"lush-nvim"
|
"lush-nvim"
|
||||||
"lz-n"
|
"lz-n"
|
||||||
|
|
|
@ -540,7 +540,6 @@ https://github.com/nvimdev/lspsaga.nvim/,,
|
||||||
https://github.com/barreiroleo/ltex_extra.nvim/,HEAD,
|
https://github.com/barreiroleo/ltex_extra.nvim/,HEAD,
|
||||||
https://github.com/nvim-java/lua-async/,HEAD,
|
https://github.com/nvim-java/lua-async/,HEAD,
|
||||||
https://github.com/arkav/lualine-lsp-progress/,,
|
https://github.com/arkav/lualine-lsp-progress/,,
|
||||||
https://github.com/nvim-lualine/lualine.nvim/,,
|
|
||||||
https://github.com/evesdropper/luasnip-latex-snippets.nvim/,HEAD,
|
https://github.com/evesdropper/luasnip-latex-snippets.nvim/,HEAD,
|
||||||
https://github.com/alvarosevilla95/luatab.nvim/,,
|
https://github.com/alvarosevilla95/luatab.nvim/,,
|
||||||
https://github.com/mkasa/lushtags/,,
|
https://github.com/mkasa/lushtags/,,
|
||||||
|
|
|
@ -1946,6 +1946,31 @@ buildLuarocksPackage {
|
||||||
};
|
};
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
|
lualine-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, nvim-web-devicons }:
|
||||||
|
buildLuarocksPackage {
|
||||||
|
pname = "lualine.nvim";
|
||||||
|
version = "scm-1";
|
||||||
|
knownRockspec = (fetchurl {
|
||||||
|
url = "mirror://luarocks/lualine.nvim-scm-1.rockspec";
|
||||||
|
sha256 = "1mzsfiq4h95s0nbygwii2w8xs5rixdbha322bvx453k530s2kxxj";
|
||||||
|
}).outPath;
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nvim-lualine";
|
||||||
|
repo = "lualine.nvim";
|
||||||
|
rev = "f4f791f67e70d378a754d02da068231d2352e5bc";
|
||||||
|
hash = "sha256-uAxe3UdNUVfdpQcKvGvQ/E2blGksvMPlTBfEOtgeVYo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
disabled = luaOlder "5.1";
|
||||||
|
propagatedBuildInputs = [ nvim-web-devicons ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/nvim-lualine/lualine.nvim";
|
||||||
|
description = "A blazing fast and easy to configure neovim statusline plugin written in pure lua.";
|
||||||
|
license.fullName = "MIT";
|
||||||
|
};
|
||||||
|
}) {};
|
||||||
|
|
||||||
lualogging = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luasocket }:
|
lualogging = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luasocket }:
|
||||||
buildLuarocksPackage {
|
buildLuarocksPackage {
|
||||||
pname = "lualogging";
|
pname = "lualogging";
|
||||||
|
|
|
@ -58,6 +58,7 @@
|
||||||
zlib,
|
zlib,
|
||||||
zziplib,
|
zziplib,
|
||||||
writableTmpDirAsHomeHook,
|
writableTmpDirAsHomeHook,
|
||||||
|
gitMinimal,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
final: prev:
|
final: prev:
|
||||||
|
@ -494,6 +495,21 @@ in
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
lualine-nvim = prev.lualine-nvim.overrideAttrs (_: {
|
||||||
|
doCheck = lua.luaversion == "5.1";
|
||||||
|
nativeCheckInputs = [
|
||||||
|
final.nlua
|
||||||
|
final.busted
|
||||||
|
gitMinimal
|
||||||
|
];
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
busted --lua=nlua --lpath='lua/?.lua' --lpath='lua/?/init.lua' tests/
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
luaossl = prev.luaossl.overrideAttrs (_: {
|
luaossl = prev.luaossl.overrideAttrs (_: {
|
||||||
externalDeps = [
|
externalDeps = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue