mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
luaPackages.neorg: init at 9.1.1-1
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
d3e5730bbd
commit
b4cde4d7f1
@ -114,6 +114,7 @@ middleclass,,,,,,
|
||||
mimetypes,,,,,,
|
||||
mpack,,,,,,
|
||||
moonscript,https://raw.githubusercontent.com/leafo/moonscript/master/moonscript-dev-1.rockspec,,,,,arobyn
|
||||
neorg,,,,,,GaetanLepage
|
||||
neotest,,,,,,mrcjkb
|
||||
nlua,,,,,,teto
|
||||
nui.nvim,,,,,,mrcjkb
|
||||
|
|
@ -7443,18 +7443,6 @@ final: prev:
|
||||
meta.homepage = "https://github.com/ii14/neorepl.nvim/";
|
||||
};
|
||||
|
||||
neorg = buildVimPlugin {
|
||||
pname = "neorg";
|
||||
version = "2024-09-08";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-neorg";
|
||||
repo = "neorg";
|
||||
rev = "ba35900b21921c439e676b063a79c8fad914eac9";
|
||||
sha256 = "12sgvf7zbabxvmdf07cv8rcql6jdgdv5xdcn7v5w42q8lg9mps10";
|
||||
};
|
||||
meta.homepage = "https://github.com/nvim-neorg/neorg/";
|
||||
};
|
||||
|
||||
neorg-telescope = buildVimPlugin {
|
||||
pname = "neorg-telescope";
|
||||
version = "2024-07-30";
|
||||
|
@ -1238,9 +1238,7 @@ in
|
||||
dependencies = with self; [ plenary-nvim ];
|
||||
};
|
||||
|
||||
neorg = super.neorg.overrideAttrs {
|
||||
dependencies = with self; [ plenary-nvim ];
|
||||
};
|
||||
neorg = neovimUtils.buildNeovimPlugin { luaAttr = luaPackages.neorg; };
|
||||
|
||||
neotest = super.neotest.overrideAttrs {
|
||||
dependencies = with self; [ nvim-nio plenary-nvim ];
|
||||
|
@ -623,7 +623,6 @@ https://github.com/neomake/neomake/,,
|
||||
https://github.com/Shougo/neomru.vim/,,
|
||||
https://github.com/rafamadriz/neon/,,
|
||||
https://github.com/ii14/neorepl.nvim/,HEAD,
|
||||
https://github.com/nvim-neorg/neorg/,,
|
||||
https://github.com/nvim-neorg/neorg-telescope/,HEAD,
|
||||
https://github.com/karb94/neoscroll.nvim/,,
|
||||
https://github.com/Shougo/neosnippet-snippets/,,
|
||||
|
@ -2718,6 +2718,28 @@ buildLuarocksPackage {
|
||||
};
|
||||
}) {};
|
||||
|
||||
neorg = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua-utils-nvim, luaOlder, nui-nvim, nvim-nio, pathlib-nvim, plenary-nvim }:
|
||||
buildLuarocksPackage {
|
||||
pname = "neorg";
|
||||
version = "9.1.1-1";
|
||||
knownRockspec = (fetchurl {
|
||||
url = "mirror://luarocks/neorg-9.1.1-1.rockspec";
|
||||
sha256 = "0zafy1hkrvh41vlx1g4rqlcvc4x9pi8dcji30qi0b8lj45pldyr3";
|
||||
}).outPath;
|
||||
src = fetchzip {
|
||||
url = "https://github.com/nvim-neorg/neorg/archive/v9.1.1.zip";
|
||||
sha256 = "18lk22lfzwwn4hy2s035g3kslqmvrr28lm5w9k3dazqwj5nlka3z";
|
||||
};
|
||||
disabled = luaOlder "5.1";
|
||||
propagatedBuildInputs = [ lua-utils-nvim nui-nvim nvim-nio pathlib-nvim plenary-nvim ];
|
||||
meta = {
|
||||
homepage = "https://github.com/nvim-neorg/neorg";
|
||||
description = "Modernity meets insane extensibility. The future of organizing your life in Neovim.";
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
license.fullName = "GPL-3.0";
|
||||
};
|
||||
}) {};
|
||||
|
||||
neotest = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio, plenary-nvim }:
|
||||
buildLuarocksPackage {
|
||||
pname = "neotest";
|
||||
|
@ -583,7 +583,16 @@ in
|
||||
export HOME=$(mktemp -d)
|
||||
busted --lua=nlua
|
||||
runHook postCheck
|
||||
'';
|
||||
'';
|
||||
});
|
||||
|
||||
neorg = prev.neorg.overrideAttrs (oa: {
|
||||
postConfigure = ''
|
||||
cat ''${rockspecFilename}
|
||||
substituteInPlace ''${rockspecFilename} \
|
||||
--replace-fail "'nvim-nio ~> 1.7'," "'nvim-nio >= 1.7'," \
|
||||
--replace-fail "'plenary.nvim == 0.1.4'," "'plenary.nvim',"
|
||||
'';
|
||||
});
|
||||
|
||||
plenary-nvim = prev.plenary-nvim.overrideAttrs (oa: {
|
||||
|
Loading…
Reference in New Issue
Block a user