From 114a5658539e491e39fa4f0fe90baf4c41a1a74e Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Sun, 7 Apr 2024 17:13:12 +0200 Subject: [PATCH] fix(dependencies): bump toml-edit to a working version --- .github/workflows/luarocks.yml | 2 +- nix/plugin-overlay.nix | 14 +++++++------- rocks.nvim-scm-1.rockspec | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index c8cd5a25..b61dc603 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -31,7 +31,7 @@ jobs: version: ${{ env.LUAROCKS_VERSION }} test_interpreters: "" dependencies: | - toml-edit >= 0.3.4 + toml-edit >= 0.3.6 fidget.nvim >= 1.1.0 fzy nvim-nio diff --git a/nix/plugin-overlay.nix b/nix/plugin-overlay.nix index 96e0724f..6d102b22 100644 --- a/nix/plugin-overlay.nix +++ b/nix/plugin-overlay.nix @@ -15,25 +15,25 @@ }: buildLuarocksPackage { pname = "toml-edit"; - version = "0.3.4-1"; + version = "0.3.6-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/toml-edit-0.3.4-1.rockspec"; - sha256 = "10f621d1lv137i6qcqr0rhk9lbmgsmnbq6lpyqrhi9sxab85d90s"; + url = "mirror://luarocks/toml-edit-0.3.6-1.rockspec"; + sha256 = "18fw256vzvfavfwrnzm507k4h3x2lx9l93ghr1ggsi4mhsnjki46"; }) .outPath; src = fetchzip { - url = "https://github.com/vhyrro/toml-edit.lua/archive/v0.3.4.zip"; - sha256 = "0j0f0c6wfw5fh9i1ybrbi517yvcaa4qxlm2lymhahj6ydv6ar5i5"; + url = "https://github.com/vhyrro/toml-edit.lua/archive/v0.3.6.zip"; + sha256 = "19v6axraj2n22lmilfr4x9nr40kcjb6wnpsfhf1mh2zy9nsd6ji6"; }; disabled = luaOlder "5.1"; - propagatedBuildInputs = [lua]; + propagatedBuildInputs = [lua luarocks-build-rust-mlua]; }) {}) .overrideAttrs (oa: { cargoDeps = final.rustPlatform.fetchCargoTarball { src = oa.src; - hash = "sha256-aqs9Rt4nTSsHVlpX7dMgOEL09V2tUjCzQf9dnDD30nU="; + hash = "sha256-2P+mokkjdj2PccQG/kAGnIoUPVnK2FqNfYpHPhsp8kw="; }; nativeBuildInputs = with final; [cargo rustPlatform.cargoSetupHook] ++ oa.nativeBuildInputs; }); diff --git a/rocks.nvim-scm-1.rockspec b/rocks.nvim-scm-1.rockspec index 18adb149..e69bed72 100644 --- a/rocks.nvim-scm-1.rockspec +++ b/rocks.nvim-scm-1.rockspec @@ -8,7 +8,7 @@ version = _MODREV .. _SPECREV dependencies = { "lua >= 5.1", - "toml-edit >= 0.3.4", + "toml-edit >= 0.3.6", "fidget.nvim >= 1.1.0", "fzy", "nvim-nio", @@ -16,7 +16,7 @@ dependencies = { test_dependencies = { "lua >= 5.1", - "toml-edit >= 0.3.4", + "toml-edit >= 0.3.6", "fidget.nvim >= 1.1.0", "fzy", "nvim-nio",