Unverified Commit c9b408ea authored by Marc Jakobi's avatar Marc Jakobi Committed by GitHub
Browse files

luaPackages.rustaceanvim: 4.25.1 -> 5.0.0 (#330157)

* luaPackages.rustaceanvim: 4.25.1 -> 5.0.0

* luaPackages.rustaceanvim: enable checks

* vimPlugins.rustaceanvim: move to overrides
parent 6f3ba8d7
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -9833,18 +9833,6 @@ final: prev:
    meta.homepage = "https://github.com/rust-lang/rust.vim/";
  };
  rustaceanvim = buildNeovimPlugin {
    pname = "rustaceanvim";
    version = "2024-07-10";
    src = fetchFromGitHub {
      owner = "mrcjkb";
      repo = "rustaceanvim";
      rev = "047f9c9d8cd2861745eb9de6c1570ee0875aa795";
      sha256 = "0q06rkg8dfzxvlwp7svp8sjkk0f2x5vvjkv6grdmm302s43jj7rk";
    };
    meta.homepage = "https://github.com/mrcjkb/rustaceanvim/";
  };
  sad-vim = buildVimPlugin {
    pname = "sad.vim";
    version = "2019-02-18";
+2 −0
Original line number Diff line number Diff line
@@ -1380,6 +1380,8 @@
    dependencies = with self; [ nvim-lspconfig ];
  };

  rustaceanvim = neovimUtils.buildNeovimPlugin { luaAttr = "rustaceanvim"; };

  sg-nvim = super.sg-nvim.overrideAttrs (old:
    let
      sg-nvim-rust = rustPlatform.buildRustPackage {
+0 −1
Original line number Diff line number Diff line
@@ -827,7 +827,6 @@ https://github.com/keith/rspec.vim/,,
https://github.com/ccarpita/rtorrent-syntax-file/,,
https://github.com/simrat39/rust-tools.nvim/,,
https://github.com/rust-lang/rust.vim/,,
https://github.com/mrcjkb/rustaceanvim/,HEAD,
https://github.com/hauleth/sad.vim/,,
https://github.com/vmware-archive/salt-vim/,,
https://github.com/lewis6991/satellite.nvim/,HEAD,
+5 −5
Original line number Diff line number Diff line
@@ -2973,14 +2973,14 @@ buildLuarocksPackage {
rustaceanvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
buildLuarocksPackage {
  pname = "rustaceanvim";
  version = "4.25.1-1";
  version = "5.0.0-1";
  knownRockspec = (fetchurl {
    url    = "mirror://luarocks/rustaceanvim-4.25.1-1.rockspec";
    sha256 = "1lrjybnicbyl9rh0qcp846s6b57gryca0fw719c8h8pasb9kf1m0";
    url    = "mirror://luarocks/rustaceanvim-5.0.0-1.rockspec";
    sha256 = "0rabhsya9qx4lybd47b6s95yh6y7nnngpfpqxf2h8pf492790yxc";
  }).outPath;
  src = fetchzip {
    url    = "https://github.com/mrcjkb/rustaceanvim/archive/4.25.1.zip";
    sha256 = "1rym8n7595inb9zdrmw7jwp5iy5r28b7mfjs4k2mvmlby9fxcmz0";
    url    = "https://github.com/mrcjkb/rustaceanvim/archive/5.0.0.zip";
    sha256 = "07a0r6lhwxsk3asrnwmj39j51kqaz33qi3kv9788nms3mpvplxc1";
  };

  disabled = luaOlder "5.1";
+10 −0
Original line number Diff line number Diff line
@@ -745,6 +745,16 @@ in
    };
  })) {};

  rustaceanvim  = prev.rustaceanvim.overrideAttrs(oa: {
    doCheck = lua.luaversion == "5.1";
    nativeCheckInputs = [ final.nlua final.busted ];
    checkPhase = ''
      runHook preCheck
      export HOME=$(mktemp -d)
      busted --lua=nlua
      runHook postCheck
      '';
  });

  sqlite = prev.sqlite.overrideAttrs (drv: {