Commit Graph

194 Commits

Author SHA1 Message Date
Symphorien Gibol
c1752666df neovim wrapper: use python.withPackages instead of python.buildEnv
They are both as powerful, but buildEnv is treacherous: if you pass a
package which depends on another python (for example the one of unstable
when you are on stable) it will be *silently* dropped, leading to hair
pulling.

Use case:
override neovim from unstable, but still keep stable's pythonPackages.
2018-07-24 15:05:50 +02:00
Symphorien Gibol
10436a707a neovim wrapper: do not unset PYTHONPATH
This solves the following bug:
opening neovim in nix-shell -p pythonPackages.numpy does not enable to
run successfully
:!python -c "import numpy"
because the PYTHONPATH is wiped by the neovim wrapper.

This wiping is necessary for the python providers, though, otherwise a
python2 nix-shell will make the python3 provider read python2 files.

We wrap the providers only, instead of neovim as whole.
2018-07-24 15:02:48 +02:00
Wael M. Nasreddine
5c7c2be709 neovim: fix the xsel path in the clipboard runtime provider 2018-07-22 21:32:16 -07:00
Frederik Rietdijk
e3d4ef9c7e
Merge pull request #43925 from r-ryantm/auto-update/neovim-unwrapped
neovim-unwrapped: 0.3.0 -> 0.3.1
2018-07-22 08:37:44 +02:00
R. RyanTM
4c1eb7fbe6 neovim-unwrapped: 0.3.0 -> 0.3.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/neovim-unwrapped/versions.
2018-07-21 14:18:00 -07:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Frederik Rietdijk
ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
Jörg Thalheim
b494ef4db6 neovim: add missing libiconv 2018-06-12 10:16:55 +01:00
Cole Mickens
47348e20d1 neovim: 0.2.2 -> 0.3.0 2018-06-11 17:43:18 -07:00
Jörg Thalheim
b02b464852 neovim-remote: 1.8.6 -> 2.0.5 2018-05-29 22:30:18 +01:00
Ryan Mulligan
af9d10a91b treewide: fix derivation names 2018-05-28 05:59:57 -07:00
Matthew Bauer
02297beade treewide: add version to packages
Lots of packages are missing versions in their name. This adds them
where appropriate. These were found with this command:

 $ nix-env -qa -f. | grep -v '\-[0-9A-Za-z.-_+]*$' | grep -v '^hook$'

See issue #41007.
2018-05-25 15:48:05 -05:00
adisbladis
3290800d67
libvterm-neovim: init at 2017-11-05 2018-05-16 14:02:48 +08:00
Matthieu Coudron
ba4b1d2bee neovim: fix gperf error on dev-version
[ 50%] Generating auto/api/private/dispatch_wrappers.c.generated.h, ../../include/api/private/dispatch_wrappers.h.generated.h
[ 50%] Generating auto/funcs.generated.h, ../../funcs_data.mpack
/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: ../../../.deps/usr/bin/gperf: No such file or directory
2018-05-13 07:21:34 +09:00
Issam Maghni
cb9f4f1ae3 pythonPackages.neovim: 0.2.4 -> 0.2.6, gem-neovim & gem-msgpack 2018-05-02 08:48:21 -04:00
Gabriel Ebner
ba58b425f1 neovim: fix bundlerEnv 2018-02-22 21:18:04 +01:00
Matthieu Coudron
bec047eca3 neovim: remove confusing neovim parameter
The neovim package refers to itself, hopefully it is shadowed by a
function parameter but it is confusing, let's remove it.
2018-01-25 16:38:22 +09:00
José Luis Lafuente
2c95ce9081
neovim: 0.2.1 -> 0.2.2 2018-01-21 20:50:08 +01:00
Tobias Geerinckx-Rice
0f84673f3d
Remove nckx as a maintainer for all packages
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00
Matthieu Coudron
266a65eaa9 neovim: don't install desktop file on darwin
nvim.desktop doesn't exist on darwin so forcefully reading it fails.
2018-01-16 17:41:31 +09:00
Matthieu Coudron
ab06f3e99c neovim: init wrapper
Adding a python package to the neovim environment should not trigger a recompilation.
This adds a wrapper to prevent that.
2018-01-15 23:24:20 +01:00
Orivej Desh
f4afbf6e77 neovim: fix quoting for makeWrapper
Fixes #33625 after #31497
2018-01-09 01:47:16 +00:00
Patrick Lambein
15c4b78c36 neovim: add viAlias argument
The argument viAlias mimicks the behavior of vimAlias: when set to true, it
creates a symbolic link from $out/bin/vi to $out/bin/nvim.
2017-12-16 15:38:36 +01:00
Rok Garbas
fb5f41bb00 neovim: ruby and python isolation
the code has been taken from #31604 and fixed so that :CheckHealth for
ruby provider is also green (ruby and gem are required to be in PATH).
2017-11-20 13:10:13 +01:00
Rok Garbas
7dce6c88d2 neovim: 0.2.0 -> 0.2.1
* neovimLibvterm: 5a748f97 -> 4ca7ebf7
* neovim ruby: 0.5.0 -> 0.5.1
* pythonPackages.neovim: 0.1.13 -> 0.2.0
* libmpack: 1.0.3-rev80bd55ea6 -> 1.0.5
* luaPackages.mpack: switched to new source location, 1.0.7_ef025224a7
* only one set of lua packages, switched to luajit
2017-11-15 01:21:46 +01:00
Peter Hoeg
608fe16482 neovim-qt: 0.2.7 -> 0.2.8
We now also run some of the tests which is better than nothing.
2017-09-09 09:32:13 +08:00
Matthieu Coudron
9889c1c661 neovim: fix missing dependancy luajit lpeg
luajit libraries are not the same as vanilla lua ones, hence when luajit
is enabled, the build fails.
Fixes https://github.com/NixOS/nixpkgs/issues/14442
2017-09-03 15:29:13 +02:00
Benno Fünfstück
bf6ebda141 Merge pull request #25772 from jbaum98/neovim-ruby
neovim: neovim-ruby 0.3.1 -> 0.4.0
2017-07-15 19:03:46 +02:00
Benno Fünfstück
549df83e8e neovim-ruby: 0.4.0 -> 0.5.0 2017-07-15 18:56:51 +02:00
Thomas Tuegel
c816bbc8a8
qt5: remove makeQtWrapper 2017-06-18 08:44:42 -05:00
Jake Waksbaum
171e3f85ce
neovim: neovim-ruby 0.3.1 -> 0.4.0 2017-05-14 00:41:54 -04:00
Rok Garbas
ec7f620831 neovim-remote: 1.4.0 -> 1.6.0 2017-05-02 16:57:40 +02:00
Rok Garbas
33960efb13 neovim-qt: 0.2.6 -> 0.2.7 2017-05-02 16:57:40 +02:00
Rok Garbas
fe3c124064 neovim: 0.1.7 -> 0.2.0 2017-05-02 16:57:40 +02:00
Tuomas Tynkkynen
5658324d82 neovim: Fix eval error
Not sure at all if this is the right thing to do. cc @edanaher
2017-03-18 20:01:15 +02:00
Michael Raskin
846b6d250a Merge pull request #23256 from edanaher/ensime
Ensime
2017-03-18 18:24:19 +01:00
Peter Hoeg
26625c928b neovim-qt: run tests 2017-03-08 20:31:29 +08:00
Peter Hoeg
a9e990b818 neovim: 0.2.5 -> 0.2.6 2017-03-08 20:07:40 +08:00
Peter Hoeg
2c99575c66 neovim-qt: 0.2.4 -> 0.2.5 2017-03-08 17:35:37 +08:00
Evan Danaher
dcab427908 vim-plugins: Add infrastructure for python[3]Dependencies.
This allows vim plugins to specify python dependencies required at
runtime, and they will be added to the python environment.
2017-02-27 12:36:03 -05:00
Peter Hoeg
5e0dbfe931 Merge branch 'master' into f/nvim-qt 2017-02-11 11:46:37 +08:00
Peter Hoeg
f0d0e21a5e neovim-qt: clean up 2017-02-11 02:39:15 +08:00
Evan Danaher
ee4f732633 neovim-remote: add meta section.
Also add myself to maintainers; it's time to admit I'm not leaving
anytime soon ;)
2017-02-10 11:43:42 -05:00
Evan Danaher
b2fb95a6cf neovim-remote: move from python-packages to /neovim/neovim-remote. 2017-02-03 16:58:22 -05:00
Anmol Sethi
3799f9322a neovim: removed unncessary man configuration
Latest neovim uses a rewritten man plugin that does not need
these changes.
2017-01-06 18:31:11 +01:00
Evan Danaher
d4b960550b neovim: Inherit meta into neovim-configured
When adding neovim's configure option to config.nix, builds fail with

  error: attribute ‘platforms’ missing, at
  /nix/store/*/nixos/pkgs/applications/editors/neovim/qt.nix:41:28

Inheriting meta into neovim-configured fixes this, and seems reasonable.
2017-01-04 18:33:26 +01:00
Michael Fellinger
bb80d77d84 neovim: green :CheckHealth 2016-12-19 23:05:31 +01:00
Igor Sharonov
b5286f3747 neovim-qt: 0.2.3 -> 0.2.4 2016-12-03 16:16:45 +03:00
Rok Garbas
880d616ec0 neovim: 0.1.6 -> 0.1.7 2016-11-28 04:06:19 +01:00
Rok Garbas
c27c1b2696
neovim-qt: 0.2.1 -> 0.2.3 2016-10-30 23:06:59 +01:00
Rok Garbas
2002469c7b neovim: 0.1.5 -> 0.1.6
also neovim-libvterm update: 2015-11-06 -> 2016-10-07
2016-10-29 22:35:50 +02:00
obadz
3de6e5be50 Merge branch 'master' into staging
Conflicts:
      pkgs/applications/misc/navit/default.nix
      pkgs/applications/networking/mailreaders/alpine/default.nix
      pkgs/applications/networking/mailreaders/realpine/default.nix
      pkgs/development/compilers/ghc/head.nix
      pkgs/development/libraries/openssl/default.nix
      pkgs/games/liquidwar/default.nix
      pkgs/games/spring/springlobby.nix
      pkgs/os-specific/linux/kernel/perf.nix
      pkgs/servers/sip/freeswitch/default.nix
      pkgs/tools/archivers/cromfs/default.nix
      pkgs/tools/graphics/plotutils/default.nix
2016-08-27 23:54:54 +01:00
Rok Garbas
c3ef13a828
neovim: 0.1.4 -> 0.1.5 (and related dependencies)
* neovimLibvterm: a9c7c6f -> 487f21db
* libmpack: 071d944c -> 80bd55e
2016-08-22 12:15:41 +02:00
Robin Gloster
b7787d932e Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-12 09:46:53 +00:00
Aneesh Agrawal
5e3eb476f5 neovim: remove unused glib dependency (#17499)
As far as I can tell, neovim has never required glib to build.
The neovim libtermkey does include a demo-glib.c example, but that is
optional.
2016-08-05 09:33:05 +02:00
Michael Raskin
ef46388c48 neovim-qt: 0pre -> 0.2.1, use libmsgpack 1.4 2016-08-03 17:58:22 +02:00
Robin Gloster
5185bc1773 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-15 14:41:01 +00:00
Matthew Bauer
e0884e85cf neovim: fix build on darwin, cleanup lua paths
fixes #16152

The cmake script had trouble finding the lua paths, this sets them
using “luaPackages.getLuaPath” and “luaPackages.getLuaCPath”.
2016-06-12 21:02:09 -05:00
Robin Gloster
8031cba2ab Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-06-10 09:27:04 +00:00
Rok Garbas
28ddc8c043 neovim: pkgs argument was unused 2016-06-06 13:00:44 +02:00
Rok Garbas
f878018ece neovim: 0.1.3 -> 0.1.4
* removing luaMessagePack (only used by neovim)
* using libmpack (updated to latest master since they fixed a lot of packaging
  issues)
* package libmpack lua bidnings
* neovim expression now excepts luaPackages as an input and not individual
  lua packages (to avoid depending on different lua version)
2016-06-04 17:58:01 +02:00
Tobias Pflug
71c9c5dffe neovim: fix broken build (#15876) 2016-05-31 21:38:43 +02:00
Robin Gloster
2d382f3d98 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-05-30 19:39:34 +00:00
Rok Garbas
e9c86755dd neovim: make clipboard work ootb 2016-05-25 15:02:41 +02:00
Nick Novitski
15c6fa023f neovim: fix Man command 2016-05-21 21:51:40 +02:00
Franz Pletz
f8d481754c
Merge remote-tracking branch 'origin/master' into hardened-stdenv 2016-05-18 17:10:02 +02:00
Tobias Geerinckx-Rice
237168d452
neovim: unmaintain
*reinstalls emacs*
2016-05-06 19:17:07 +02:00
Robin Gloster
c92bca56f8 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-05-02 22:58:02 +00:00
Aneesh Agrawal
2e80f19f39 neovim: 0.1.2 -> 0.1.3 2016-04-19 15:20:34 -04:00
Robin Gloster
a36f51f773 neovim: disable fortify hardening 2016-04-19 02:05:50 +00:00
Moritz Ulrich
6cd2eccdc7 neovim: Fix build by via order of buildInputs
See #14442 for details and further real fixes.
2016-04-06 21:08:23 +02:00
Rok Garbas
d58ae071fd neovim: 0.1.1 -> 0.1.2
also updated neovim's forked libvterm to latest revision
2016-02-16 01:34:57 +01:00
Tobias Geerinckx-Rice
ba0dcb95ad neovim: fix -configured evaluation 2016-01-26 06:16:45 +01:00
Tobias Geerinckx-Rice
9fb8020e4e Add version attribute where maintainers |= nckx
This will probably be mandatory soon, and is a step in the right
direction. Removes the deprecated meta.version, and move some meta
sections to the end of the file where I should have put them in
the first place.
2016-01-25 17:35:21 +01:00
Rok Garbas
9d1bbf7a02 neovim: update 0.1.0 -> 0.1.1 2015-12-05 23:08:22 +01:00
Rok Garbas
0b516052e8 neovim: collect gui's in one place 2015-11-07 19:53:41 +01:00
Vladimír Čunát
261791992c neovim: fix wrong ad30764d68
I'm sorry. I had tested that `neovim.src` still built ;-)
Thanks to @codedmart.
2015-11-02 20:52:08 +01:00
Vladimír Čunát
ad30764d68 neovim: fetch by version tag instead of commit hash
/cc #10787.
2015-11-02 12:57:48 +01:00
Scott Milliken
f89ddefd97 neovim: update to 0.1.0., closes #10787 2015-11-02 12:50:54 +01:00
Vladimír Čunát
abbe5f27a9 neovim: make pynvim runnable even if not in $PATH 2015-10-30 09:21:08 +01:00
Rok Garbas
b7ab0a47de neovim: adding python gui option
- pythonPackages.neovim_gui init
2015-10-29 19:58:08 +01:00
Jude Taylor
8f663ee0fb neovim: don't link with libutil on Darwin 2015-10-22 13:47:03 -07:00
Joe Hermaszewski
d5a364cf8f neovim: 2015-10-08 -> 2015-10-12 2015-10-14 20:15:42 +01:00
Joe Hermaszewski
d6d88aaa2b neovim: Create symlink to correct python3 binary
The symlink being created pointed to 'python' rather than 'python3'
2015-10-14 11:57:40 +02:00
Joe Hermaszewski
36be2e9144 neovim: 2015-06-09 -> 2015-10-08 2015-10-10 20:29:06 +01:00
Tobias Geerinckx-Rice
6c6201a99b Remove unnecessary rec{s from "my" packages 2015-07-31 02:02:07 +02:00
Tobias Geerinckx-Rice
98b2d7b727 Separate nativeBuildInputs where maintainers |= nckx 2015-06-17 22:21:32 +02:00
Daiderd Jordan
c7f36cb5f0 fix neovim on darwin 2015-06-11 14:42:55 +02:00
Rok Garbas
19248c309a neovim: uses vimUtils to make it configurable like vim_configurable is
- vimAlias argument , when true, will create a @out/bin/vim symlink
- configure argument, which will configure neovim the same way as it does
  vim_configurable. eg.: ~/.nixpkgs/config.nix

    {

      packageOverrides = pkgs : with pkgs; rec {
        vimg = neovim.override {
          vimAlias = true;
          configure = {
            customRC = ''
              set spell
            '';
            vam.pluginDictionaries = [
              { names = [ "youcompleteme" "ctrlp"]; }
            ];
          };
        };
      };

     }

Enjoy!
2015-06-11 10:48:29 +02:00
Rok Garbas
f2d7f573af neovim: adding python2 and python3 support
neovim:
- possibility to extend neovim (via .override) and passing extraPythonPackages
  or extraPython3Packages
- neovim's python interpreter can be found as nvim-python / nvim-python3
- wrapping nvim binary and setting `g:python_host_prog` and
  `g:python3_host_prog` via --cmd flag

python-packages.nix fixes:
- ordereddict builds for py26 and uses disabled argument to tell this
- trollius builds on all python platforms except 3.4 (where is included in
  standard librarary)
- neovim builds on all python platforms
2015-06-11 02:54:10 +02:00
Tobias Geerinckx-Rice
ef94547093 neovim -> 2015-06-09 2015-06-10 00:50:35 +02:00
Tobias Geerinckx-Rice
af15a201e1 neovim: update to latest master 2015-05-26 2015-05-27 01:22:43 +02:00
Tobias Geerinckx-Rice
bd67bfa306 neovim: various small improvements
- Fix package name ("neovim-nightly" -> "neovim")
- Use fetchFromGitHub, remove unused parameters
- Improve metadata
- Maintain
2015-05-27 00:13:24 +02:00
Michael Fellinger
917bf6865a add neovim 2014-11-27 22:16:43 +01:00