Unverified Commit 1492aa57 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #196184 from figsoda/nvim-cmp

vimPlugins.nvim-cmp: follow HEAD and update
parents 0ac7157c 46769538
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ mediator_lua,,,,,,
mpack,,,,,,
moonscript,https://github.com/leafo/moonscript.git,dev-1,,,,arobyn
nvim-client,https://github.com/neovim/lua-client.git,,,,,
nvim-cmp,,,,,,
nvim-cmp,https://github.com/hrsh7th/nvim-cmp,,,,,
penlight,https://github.com/lunarmodules/Penlight.git,,,,,alerque
plenary.nvim,https://github.com/nvim-lua/plenary.nvim.git,,,,5.1,
rapidjson,https://github.com/xpol/lua-rapidjson.git,,,,,
+15 −10
Original line number Diff line number Diff line
@@ -2606,19 +2606,24 @@ buildLuarocksPackage {
}) {};

nvim-cmp = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchzip, lua
, fetchgit, lua
}:
buildLuarocksPackage {
  pname = "nvim-cmp";
  version = "0.0.1-2";
  knownRockspec = (fetchurl {
    url    = "mirror://luarocks/nvim-cmp-0.0.1-2.rockspec";
    sha256 = "0jx4i2rnc7zmy1bbqp6fqymlklc7xvqyv35prjl3ld05c4dpg7nq";
  }).outPath;
  src = fetchzip {
    url    = "http://github.com/hrsh7th/nvim-cmp/archive/v0.0.1.zip";
    sha256 = "0649n476jd6dqd79fmywmigz19sb0s344ablwr25gr23fp46hzaz";
  };
  version = "scm-1";

  src = fetchgit ( removeAttrs (builtins.fromJSON ''{
  "url": "https://github.com/hrsh7th/nvim-cmp",
  "rev": "3347dd3c59b6c62288d861ddb92b9ba1227257a8",
  "date": "2022-10-15T15:20:35+09:00",
  "path": "/nix/store/yz8ak36srpzaw6qm2gip07ppl6zladcd-nvim-cmp",
  "sha256": "1ca9mpxq7cqi36mqz0cgyhl9w1dwcalwh6v4kj377g1vqslyl5ay",
  "fetchLFS": false,
  "fetchSubmodules": true,
  "deepClone": false,
  "leaveDotGit": false
}
 '') ["date" "path"]) ;

  disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4");
  propagatedBuildInputs = [ lua ];