Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luaPackages: update on 2025-01-10 #372532

Merged
merged 1 commit into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 31 additions & 31 deletions pkgs/development/lua-modules/generated-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -579,14 +579,14 @@ buildLuarocksPackage {
fzf-lua = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
buildLuarocksPackage {
pname = "fzf-lua";
version = "0.0.1594-1";
version = "0.0.1635-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/fzf-lua-0.0.1594-1.rockspec";
sha256 = "1hc23a5kf3343jzcqwlz51af5a3yfxhbspsfy4p1lzvw596hlq38";
url = "mirror://luarocks/fzf-lua-0.0.1635-1.rockspec";
sha256 = "0d7kvdxs923qhmrfh7zcnsxqnfd5fzzi2mlgpvskb6pjg5qnshar";
}).outPath;
src = fetchzip {
url = "https://github.com/ibhagwan/fzf-lua/archive/dbc5bd14e72ba680df44906e957b0a821121726b.zip";
sha256 = "1qcgacgrn6jmqi623rqav45rz83r9m3xv4k5bm5f8lnqdyi3r0av";
url = "https://github.com/ibhagwan/fzf-lua/archive/af6ecbd7f421e7894127a9e94b40e13172fbfb13.zip";
sha256 = "0zvbid4553sag41l5zx3j331nq17p1k6n2gbs7ynkbbd530qvsmf";
};

disabled = luaOlder "5.1";
Expand Down Expand Up @@ -630,8 +630,8 @@ buildLuarocksPackage {
src = fetchFromGitHub {
owner = "lewis6991";
repo = "gitsigns.nvim";
rev = "5f808b5e4fef30bd8aca1b803b4e555da07fc412";
hash = "sha256-H7A+AxioiedSuC+jqRwP4c7DjZR/0j4o/fTUasT2urc=";
rev = "68114837e81ca16d06514c3a997c9102d1b25c15";
hash = "sha256-NmqXgzGp+y/WWrMxXKuQFIsKS3kYxKyAA6Qa5SGvqIw=";
};

disabled = lua.luaversion != "5.1";
Expand Down Expand Up @@ -2377,14 +2377,14 @@ buildLuarocksPackage {
luautf8 = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
buildLuarocksPackage {
pname = "luautf8";
version = "0.1.5-2";
version = "0.1.6-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/luautf8-0.1.5-2.rockspec";
sha256 = "0v788kk1aj7r70w9fgjlp3qrpjbpa9z9l1m7d13csk0pgfkm5iqz";
url = "mirror://luarocks/luautf8-0.1.6-1.rockspec";
sha256 = "0piqf7nxhkgawib8ymvqaw2jn0ksnw1ahcxxiry121r4cxq5i65h";
}).outPath;
src = fetchurl {
url = "https://github.com/starwing/luautf8/archive/refs/tags/0.1.5.tar.gz";
sha256 = "077ji840wfmy7hq0y13l01dv6jhasznykf89gk9m672jhz6dxggl";
url = "https://github.com/starwing/luautf8/archive/refs/tags/0.1.6.tar.gz";
sha256 = "0mlnfsskbsjd6d643yb9i03r5135w5x8hrlaa00bv6mhmys76s5p";
};

disabled = luaOlder "5.1";
Expand Down Expand Up @@ -2795,14 +2795,14 @@ buildLuarocksPackage {
neotest = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio, plenary-nvim }:
buildLuarocksPackage {
pname = "neotest";
version = "5.7.0-1";
version = "5.8.0-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/neotest-5.7.0-1.rockspec";
sha256 = "1fzvcz54vrcjashjpq6bd10yy0kvzsfz2kk2b7imfqnjgwq44d15";
url = "mirror://luarocks/neotest-5.8.0-1.rockspec";
sha256 = "05gm5hpy5pralchkr0d3zfc5l7zs9qv6xflk9482rysfnkm7d3dh";
}).outPath;
src = fetchzip {
url = "https://github.com/nvim-neotest/neotest/archive/0dccb5ebcf00de245e2060fa17822a9464f5c41a.zip";
sha256 = "15zkhdbkgla3ycxzbl6l2wspcx5ig9q58wsp3cnh1biffk4zn102";
url = "https://github.com/nvim-neotest/neotest/archive/d66cf4e05a116957f0d3a7755a24291c7d1e1f72.zip";
sha256 = "09bxarrrfnqvyv22ls6lm0y03ngcp6r372b8hy4rld902psdb11q";
};

disabled = luaOlder "5.1";
Expand Down Expand Up @@ -2871,8 +2871,8 @@ buildLuarocksPackage {
src = fetchFromGitHub {
owner = "hrsh7th";
repo = "nvim-cmp";
rev = "b555203ce4bd7ff6192e759af3362f9d217e8c89";
hash = "sha256-Z/Qy2ErbCa7dbjZVuJUkMmb4d24amNunNgRcbCGPfOg=";
rev = "8c82d0bd31299dbff7f8e780f5e06d2283de9678";
hash = "sha256-TmXpMgkPWXHn4+leojZg1V18wOiPDsKQeG1h8nGgVHo=";
};

disabled = luaOlder "5.1" || luaAtLeast "5.4";
Expand Down Expand Up @@ -3192,14 +3192,14 @@ buildLuarocksPackage {
rustaceanvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
buildLuarocksPackage {
pname = "rustaceanvim";
version = "5.20.1-1";
version = "5.22.0-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/rustaceanvim-5.20.1-1.rockspec";
sha256 = "0g1s35k1wysi59mhnfbzhxhgqd4jm2n250q8cqizpazslhis8gvf";
url = "mirror://luarocks/rustaceanvim-5.22.0-1.rockspec";
sha256 = "0qjawr2y5ll9kksyfjx1v52kk7kca4hs5c7rqiz4zvvxszqbpayp";
}).outPath;
src = fetchzip {
url = "https://github.com/mrcjkb/rustaceanvim/archive/v5.20.1.zip";
sha256 = "1zq7p087cg9c9fl7lpcb7pg6kndiywp9cp2ja6jml3q6smb84i4d";
url = "https://github.com/mrcjkb/rustaceanvim/archive/v5.22.0.zip";
sha256 = "0wxvfj6xb5b3ikxjdwnri8mc1dnjgln67yp83461c2p822yiwl6s";
};

disabled = luaOlder "5.1";
Expand Down Expand Up @@ -3411,8 +3411,8 @@ buildLuarocksPackage {
src = fetchFromGitHub {
owner = "nvim-telescope";
repo = "telescope.nvim";
rev = "2eca9ba22002184ac05eddbe47a7fe2d5a384dfc";
hash = "sha256-npb61MZYAotz71Co5G1dUeIqWt7GVeqZNz0A2Yz2dy4=";
rev = "415af52339215926d705cccc08145f3782c4d132";
hash = "sha256-5y8srYKaAqFplMtDjsc8GdDF8yui5vCNMiOeFLrC/sM=";
};

disabled = lua.luaversion != "5.1";
Expand Down Expand Up @@ -3549,16 +3549,16 @@ buildLuarocksPackage {
vusted = callPackage({ buildLuarocksPackage, busted, fetchFromGitHub, fetchurl, luasystem }:
buildLuarocksPackage {
pname = "vusted";
version = "2.5.1-1";
version = "2.5.2-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/vusted-2.5.1-1.rockspec";
sha256 = "14h1vbms6ygqpdfsms1prvp29ld8kk1w2qa2c9b6i02h3dg45dv6";
url = "mirror://luarocks/vusted-2.5.2-1.rockspec";
sha256 = "15khykwiqipzrgj84ny4wc18iv5qs4a6vl6czmy2g8pxldipqf81";
}).outPath;
src = fetchFromGitHub {
owner = "notomo";
repo = "vusted";
rev = "v2.5.1";
hash = "sha256-XHAPgLNGVdqyeukqimLqRlDhuiMEhOhBO0vUIFDAPjM=";
rev = "v2.5.2";
hash = "sha256-sYRMzuCUDFe77JMG9D4LedcPa+hAKIKZiEt+stOVl7g=";
};

propagatedBuildInputs = [ busted luasystem ];
Expand Down
6 changes: 0 additions & 6 deletions pkgs/development/lua-modules/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -877,12 +877,6 @@ in
});

vusted = prev.vusted.overrideAttrs (_: {
postConfigure = ''
cat ''${rockspecFilename}
substituteInPlace ''${rockspecFilename} \
--replace-fail '"luasystem = 0.2.1",' "'luasystem >= 0.2',"
'';

Comment on lines -880 to -885
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newest rockspec is more lenient and just checks for a minimum version that matches what we have in nixpkgs.

# make sure vusted_entry.vim doesn't get wrapped
postInstall = ''
chmod -x $out/bin/vusted_entry.vim
Expand Down