luaPackages.image-nvim: init at 1.2

This commit is contained in:
Matthieu Coudron 2023-12-25 00:44:58 +01:00
parent fe285b1ab1
commit be0c33cafc
2 changed files with 25 additions and 0 deletions

View file

@ -21,6 +21,7 @@ fzy,,,,,,mrcjkb
gitsigns.nvim,https://github.com/lewis6991/gitsigns.nvim.git,,,,5.1,
haskell-tools.nvim,,,,,,
http,,,,0.3-0,,vcunat
image.nvim,,,,,,teto
inspect,,,,,,
jsregexp,,,,,,
ldbus,,,http://luarocks.org/dev,,,

1 name src ref server version luaversion maintainers
21 gitsigns.nvim https://github.com/lewis6991/gitsigns.nvim.git 5.1
22 haskell-tools.nvim
23 http 0.3-0 vcunat
24 image.nvim teto
25 inspect
26 jsregexp
27 ldbus http://luarocks.org/dev

View file

@ -623,6 +623,30 @@ buildLuarocksPackage {
};
}) {};
image-nvim = callPackage(
{ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder, magick }:
buildLuarocksPackage {
pname = "image.nvim";
version = "1.2.0-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/image.nvim-1.2.0-1.rockspec";
sha256 = "0732fk2p2v9f72689jms4pdjsx9m7vdi1ib65jfz7q4lv9pdx508";
}).outPath;
src = fetchzip {
url = "https://github.com/3rd/image.nvim/archive/v1.2.0.zip";
sha256 = "1v4db60yykjajabmf12zjcg47bb814scjrig0wvn4yc11isinymg";
};
disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua magick ];
meta = {
homepage = "https://github.com/3rd/image.nvim";
description = "🖼 Bringing images to Neovim.";
license.fullName = "MIT";
};
}) {};
inspect = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }:
buildLuarocksPackage {
pname = "inspect";