about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthieu Coudron <886074+teto@users.noreply.github.com>2023-12-25 00:44:58 +0100
committerMatthieu Coudron <886074+teto@users.noreply.github.com>2023-12-26 14:47:47 +0100
commitbe0c33cafc4c2a5287a3ed366fd880b75ead9c3e (patch)
treecf43bb9b9f0a19cc6a1e3edb91969bf89e9eeb33
parentfe285b1ab1309ffba8ecb81176d19dc2b5bbfc65 (diff)
downloadnixlib-be0c33cafc4c2a5287a3ed366fd880b75ead9c3e.tar
nixlib-be0c33cafc4c2a5287a3ed366fd880b75ead9c3e.tar.gz
nixlib-be0c33cafc4c2a5287a3ed366fd880b75ead9c3e.tar.bz2
nixlib-be0c33cafc4c2a5287a3ed366fd880b75ead9c3e.tar.lz
nixlib-be0c33cafc4c2a5287a3ed366fd880b75ead9c3e.tar.xz
nixlib-be0c33cafc4c2a5287a3ed366fd880b75ead9c3e.tar.zst
nixlib-be0c33cafc4c2a5287a3ed366fd880b75ead9c3e.zip
luaPackages.image-nvim: init at 1.2
-rw-r--r--maintainers/scripts/luarocks-packages.csv1
-rw-r--r--pkgs/development/lua-modules/generated-packages.nix24
2 files changed, 25 insertions, 0 deletions
diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv
index 32530d3ea3cd..6a70792bf02c 100644
--- a/maintainers/scripts/luarocks-packages.csv
+++ b/maintainers/scripts/luarocks-packages.csv
@@ -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,,,
diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix
index cac6c55e9354..78edc3683afd 100644
--- a/pkgs/development/lua-modules/generated-packages.nix
+++ b/pkgs/development/lua-modules/generated-packages.nix
@@ -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";