nixpkgs/pkgs/development/interpreters
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
..
acl2 treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
alda alda: 2.2.0 -> 2.2.3 2022-04-26 15:53:19 -05:00
angelscript
asmrepl
bats bats: 1.6.0 -> 1.7.0 2022-05-16 10:35:28 -05:00
bic
bqn cbqn: 0.pre+date=2021-12-1 -> 0.pre+date=2022-05-06 2022-05-06 16:30:11 +09:00
bwbasic
ceptre ceptre: switch to fetchFromGitHub 2022-03-16 00:45:13 +01:00
chibi treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
cling
clips
clisp clisp,clisp-tip: rename name to pname&version 2022-03-01 12:00:54 +01:00
clojure clojure: 1.11.1.1129 -> 1.11.1.1139 2022-06-17 02:21:21 +00:00
cyclone
dart dart: 2.15.1 -> 2.17.0 2022-05-13 01:44:35 +02:00
dhall buildDhallUrl: Respect proxy environment variables 2022-06-18 11:09:19 +02:00
duktape treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
dzaima-apl
eff
elixir elixir: 1.13.3 -> 1.13.4 2022-04-10 13:01:07 -04:00
erlang erlangR25: fix version 2022-05-20 16:13:35 +02:00
evcxr
falcon falcon: use gcc10Stdenv 2022-05-22 19:03:46 +01:00
gauche
gnu-apl treewide: pkgs/development: mark broken for darwin 2022-05-30 13:42:57 +02:00
gnudatalanguage
groovy groovy: 3.0.7 -> 3.0.11 2022-06-17 16:32:30 -05:00
gtk-server
guile treewide: remove nativeBuildInputs that are in stdenv 2022-04-16 21:46:46 +03:00
hugs treewide: pkgs/development: mark broken for darwin 2022-05-30 13:42:57 +02:00
icon-lang
io
ivy
j j: 902-release-b -> 904-beta-c 2022-05-16 23:33:41 -03:00
janet janet: 1.21.2 -> 1.22.0 2022-06-05 17:35:29 +02:00
jelly
jimtcl jimtcl: add fgaz to maintainers 2022-03-23 14:24:34 +01:00
joker joker: 0.18.0 -> 1.0.0 2022-03-24 15:56:04 +00:00
jruby jruby: 9.3.3.0 -> 9.3.4.0 2022-03-26 23:41:46 +00:00
jython treewide: set sourceProvenance for packages containing downloaded jars 2022-06-04 19:47:57 +01:00
kona treewide: add meta.mainProgram to many packages 2022-05-04 18:08:19 -07:00
lfe
lolcode treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
love treewide: move autoconf, automake to nativeBuildInputs 2022-03-30 20:17:24 -05:00
lua-5 vimPlugins: use lua derivation if it exists (#178180) 2022-06-19 14:18:16 +02:00
luajit luajit: 2.0.5-2021-10-02, 2.1.0-2021-10-27 -> 2.0.5-2022-03-13, 2.1.0-2022-04-05 2022-04-13 06:33:05 +00:00
lunatic
maude treewide: pkgs/development: mark broken for darwin 2022-05-30 13:42:57 +02:00
metamath
micropython
mujs
nextflow nextflow: init at 21.10.6 2022-02-09 13:32:55 +01:00
ngn-k
nickel nickel: init at 0.1.0 2022-04-22 20:43:12 -03:00
npiet
octave octave: add patch for octave incorrectly failing on package builds 2022-05-13 12:50:35 -05:00
perl treewide: enable strictDeps in bootstrap packages 2022-05-22 16:40:26 +03:00
php Merge pull request #177136 from drupol/php/bumps-june-2022 2022-06-10 15:51:18 +02:00
picoc treewide: pkgs/development: mark broken for aarch64-linux 2022-05-30 13:42:59 +02:00
picolisp treewide: pkgs/development: mark broken for aarch64-linux 2022-05-30 13:42:59 +02:00
python Merge master into staging-next 2022-06-19 06:01:10 +00:00
python-cosmopolitan maintainers/teams: add cosmopolitan team 2022-03-30 10:33:17 +02:00
qnial
quickjs
racket treewide: pkgs/development: mark broken for darwin 2022-05-30 13:42:57 +02:00
rakudo moarvm: add patch fixing build of bundled mimalloc on darwin 2022-05-22 12:02:31 +01:00
rascal treewide: set sourceProvenance for packages containing downloaded jars 2022-06-04 19:47:57 +01:00
red
regina
ruby Revert "ruby: enable O3 optimization" 2022-06-18 07:16:34 +02:00
s9fes
scheme48
scsh scsh: Update to latest head, unbreaking the build 2022-04-04 18:23:58 +02:00
self
shen-sbcl
shen-sources
sollya sollya: 7.0 -> 8.0 2022-04-03 19:03:03 +00:00
spidermonkey spidermonkey_78: pin python39 2022-06-06 11:46:07 -07:00
starlark treewide: pkgs/development: mark broken for aarch64-linux 2022-05-30 13:42:59 +02:00
supercollider supercollider: fix build with libsndfile >=1.1.0 2022-05-09 11:26:49 -04:00
tcl
tclreadline
tinyscheme treewide: pkgs/development: mark broken for darwin 2022-05-30 13:42:57 +02:00
trealla treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
unicon-lang unicon-lang: add -fcommon workaround 2022-06-02 23:50:42 +01:00
wasm3
wasmer treewide: pkgs/development: mark broken for darwin 2022-05-30 13:42:57 +02:00
wasmtime treewide: pkgs/development: mark broken for darwin 2022-05-30 13:42:57 +02:00
yabasic
yex-lang yex-lang: unstable-2021-12-25 -> 0.pre+date=2022-05-10 2022-05-10 07:47:50 -03:00
zuo zuo: init at 2022-04-15 2022-04-22 04:20:00 +00:00