Skip to content

Commit

Permalink
Merge pull request NixOS#320322 from mrcjkb/lz-n
Browse files Browse the repository at this point in the history
luaPackages.lz-n: init ad 1.2.2-1
  • Loading branch information
teto authored Jun 16, 2024
2 parents 2e55198 + 2f26fb2 commit 21451b0
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions maintainers/scripts/luarocks-packages.csv
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ luuid,,,,20120509-2,,
luv,,,,1.44.2-1,,
lush.nvim,,,https://luarocks.org/dev,,,teto
lyaml,,,,,,lblasc
lz.n,,,,,,mrcjkb
magick,,,,,5.1,donovanglover
markdown,,,,,,
mediator_lua,,,,,,
Expand Down
12 changes: 12 additions & 0 deletions pkgs/applications/editors/vim/plugins/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5915,6 +5915,18 @@ final: prev:
meta.homepage = "https://github.com/mkasa/lushtags/";
};

lz-n = buildNeovimPlugin {
pname = "lz.n";
version = "2024-06-16";
src = fetchFromGitHub {
owner = "nvim-neorocks";
repo = "lz.n";
rev = "ffd6633cbe2145177bd522fa340104fa44afbc1c";
sha256 = "sha256-aV+m4+8oWwIPTQhilXfHOUyYqQGl4NRnk7HvEQYMp0Y=";
};
meta.homepage = "https://github.com/nvim-neorocks/lz.n/";
};

magma-nvim-goose = buildVimPlugin {
pname = "magma-nvim-goose";
version = "2023-07-04";
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/editors/vim/plugins/vim-plugin-names
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ https://github.com/l3mon4d3/luasnip/,,
https://github.com/alvarosevilla95/luatab.nvim/,,
https://github.com/rktjmp/lush.nvim/,,
https://github.com/mkasa/lushtags/,,
https://github.com/nvim-neorocks/lz.n/,,
https://github.com/WhiteBlackGoose/magma-nvim-goose/,HEAD,
https://github.com/winston0410/mark-radar.nvim/,HEAD,
https://github.com/iamcco/markdown-preview.nvim/,,
Expand Down
23 changes: 23 additions & 0 deletions pkgs/development/lua-modules/generated-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2388,6 +2388,29 @@ buildLuarocksPackage {
};
}) {};

lz-n = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
buildLuarocksPackage {
pname = "lz.n";
version = "1.2.2-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/lz.n-1.2.2-1.rockspec";
sha256 = "1vbb5q3rfk0wfx4pdv3xcxnmflrrny5gm21d8h1wj32m6kbc6ddi";
}).outPath;
src = fetchzip {
url = "https://github.com/nvim-neorocks/lz.n/archive/v1.2.2.zip";
sha256 = "0im71h313vxijdkx9q5506lrhk1rqxvraqh89l7h4nr8xziscpv9";
};

disabled = luaOlder "5.1";

meta = {
homepage = "https://github.com/nvim-neorocks/lz.n";
description = "🦥 A dead simple lazy-loading Lua library for Neovim plugins.";
maintainers = with lib.maintainers; [ mrcjkb ];
license.fullName = "GPL-2+";
};
}) {};

magick = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua }:
buildLuarocksPackage {
pname = "magick";
Expand Down

0 comments on commit 21451b0

Please sign in to comment.