nixpkgs/pkgs/top-level
Matthieu Coudron ce505a3984
vimPlugins: use lua derivation if it exists (#178180)
Neovim plugins are now more often than not written in lua.
One advantage of the lua ecosystem over vim's is the existence of
luarocks and the rockspec format, which allows to specify a package
dependencies formally.
I would like more neovim plugins to have a formal description,
"rockspec" being the current candidate.
This MR allows to use nix lua packages as neovim plugins, so as to enjoy
every benefit that rockspecs bring:
- dependdency discovery
- ability to run test suite
- luarocks versioning
- rockspec metadata

the vim update.py script will check if an attribute with the vim plugin
pname exists in lua51Packages. If it does, it uses
buildNeovimPluginFrom2Nix on it, which modifies the luarocks config to
do an almost flat install (luarocks will install the package in the lua
folder instead of share/5.1/lua etc).
It also calls toVimPlugin on it to get all the vim plugin niceties.

The list of packages that could benefit from this is available at
https://luarocks.org/labels/neovim
but I hope it grows.
2022-06-19 14:18:16 +02:00
..
agda-packages.nix
aliases.nix Merge #177182: kiwix: 2.0.5 -> 2.2.1 2022-06-19 14:00:17 +02:00
all-packages.nix vimPlugins: use lua derivation if it exists (#178180) 2022-06-19 14:18:16 +02:00
beam-packages.nix erlangR25: init at 25.0 (#173674) 2022-05-20 06:17:16 -04:00
config.nix pkgs/config.nix: Fix missing attribute when no config keys are undeclared 2022-06-05 14:55:03 -07:00
coq-packages.nix coq_8_16: init at 8.16+rc1 2022-06-08 18:42:10 +02:00
cubocore-packages.nix
cuda-packages.nix
darwin-packages.nix
default.nix
dhall-packages.nix
dotnet-packages.nix
emacs-packages.nix
emscripten-packages.nix
gnuradio-packages.nix
haskell-packages.nix haskell.compiler: ghc922 -> ghc923 2022-05-28 21:11:07 +02:00
haxe-packages.nix
impure.nix
java-packages.nix
kodi-packages.nix
linux-kernels.nix Merge pull request #172660 from NickCao/nvidia-open 2022-06-17 18:59:32 +01:00
lua-packages.nix vimPlugins: use lua derivation if it exists (#178180) 2022-06-19 14:18:16 +02:00
make-tarball.nix
metrics.nix Revert "metrics job: schedule on any machine, for now" 2022-06-12 13:45:06 +02:00
nim-packages.nix buildNimPackage: use depsBuildBuild for nim_builder 2022-06-10 11:01:59 -05:00
nixpkgs-basic-release-checks.nix
ocaml-packages.nix ocamlPackages.lilv: init at 0.1.0 2022-06-08 15:21:28 +02:00
octave-packages.nix
packages-config.nix
perl-packages.nix libvirt: 8.1.0 -> 8.4.0 2022-06-10 16:19:21 +03:00
php-packages.nix php: Drop special cases for versions below 8.0 2022-06-08 18:11:51 +02:00
python2-packages.nix python2Packages.lpod: remove 2022-06-07 16:39:08 +00:00
python-aliases.nix Merge master into staging-next 2022-06-18 18:01:12 +00:00
python-packages.nix Merge pull request #177894 from fgaz/pokete/init 2022-06-19 11:51:52 +02:00
qt5-packages.nix Merge pull request #174875 from doronbehar/pkg/syncthingtray 2022-05-27 11:58:11 +03:00
qt6-packages.nix qt6Packages.quazip: init 2022-06-01 16:17:12 +03:00
release-alternatives.nix release-alternatives.nix: fix eval 2022-05-30 12:49:26 +00:00
release-cross.nix lib.systems: drop scaleway-c1 2022-05-27 12:02:39 +00:00
release-cuda.nix
release-haskell.nix haskell.packages.ghc8107.purescript-{a,c}st: sync with purescript 2022-05-31 23:46:50 +02:00
release-lib.nix
release-python.nix
release-r.nix
release-small.nix
release.nix release: Slightly adjust release-critical packages 2022-05-26 15:45:38 +02:00
ruby-packages.nix
splice.nix
stage.nix
unixtools.nix
wine-packages.nix