From 6de31f17dcae8e8eafa9dadccc479c1d7e7d4f4c Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 16 Nov 2024 17:33:41 -0600 Subject: [PATCH] luaPackages.orgmode: init at 0.3.61-1 --- maintainers/scripts/luarocks-packages.csv | 1 + .../lua-modules/generated-packages.nix | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv index 54396f8d67dcb..02e43b4fd83e7 100644 --- a/maintainers/scripts/luarocks-packages.csv +++ b/maintainers/scripts/luarocks-packages.csv @@ -122,6 +122,7 @@ nlua,,,,,,teto nui.nvim,,,,,,mrcjkb nvim-cmp,https://raw.githubusercontent.com/hrsh7th/nvim-cmp/main/nvim-cmp-scm-1.rockspec,,,,, nvim-nio,,,,,,mrcjkb +orgmode,,,,,, pathlib.nvim,,,,,, papis-nvim,,,,,,GaetanLepage penlight,,,,,,alerque diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index c9289165324e9..20dac863df1f3 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -2907,6 +2907,29 @@ buildLuarocksPackage { }; }) {}; +orgmode = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, tree-sitter-orgmode }: +buildLuarocksPackage { + pname = "orgmode"; + version = "0.3.61-1"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/orgmode-0.3.61-1.rockspec"; + sha256 = "1sdmqaq3vzpb0c74n45piqrlcw3liiqlv282nrgr16jzsz1c870g"; + }).outPath; + src = fetchzip { + url = "https://github.com/nvim-orgmode/orgmode/archive/0.3.61.zip"; + sha256 = "1gkpwyfvw9z92277q6311r924rmb9zidgmlr4xxkmn2xrj5qwl7x"; + }; + + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ tree-sitter-orgmode ]; + + meta = { + homepage = "https://nvim-orgmode.github.io/"; + description = "Orgmode clone written in Lua for Neovim 0.9+."; + license.fullName = "MIT"; + }; +}) {}; + pathlib-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio }: buildLuarocksPackage { pname = "pathlib.nvim";