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
This commit is contained in:
Rok Garbas 2017-11-10 02:06:33 +01:00
parent a472c57ffc
commit 7dce6c88d2
8 changed files with 36 additions and 34 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, gettext, libmsgpack, libtermkey
, libtool, libuv, luajit, luajitPackages, luaPackages, ncurses, perl, pkgconfig
, libtool, libuv, luaPackages, ncurses, perl, pkgconfig
, unibilium, makeWrapper, vimUtils, xsel, gperf
, withPython ? true, pythonPackages, extraPythonPackages ? []
@ -19,13 +19,13 @@ let
# Note: this is NOT the libvterm already in nixpkgs, but some NIH silliness:
neovimLibvterm = stdenv.mkDerivation rec {
name = "neovim-libvterm-${version}";
version = "2016-10-07";
version = "2017-11-05";
src = fetchFromGitHub {
owner = "neovim";
repo = "libvterm";
rev = "5a748f97fbf27003e141002b58933a99f3addf8d";
sha256 = "1fnd57f5n9h7z50a4vj7g96k6ndsdknjqsibgnxi9ndhyz244qbx";
rev = "4ca7ebf7d25856e90bc9d9cc49412e80be7c4ea8";
sha256 = "05kyvvz8af90mvig11ya5xd8f4mbvapwyclyrihm9lwas706lzf6";
};
buildInputs = [ perl ];
@ -81,13 +81,13 @@ let
neovim = stdenv.mkDerivation rec {
name = "neovim-${version}";
version = "0.2.0";
version = "0.2.1";
src = fetchFromGitHub {
owner = "neovim";
repo = "neovim";
rev = "v${version}";
sha256 = "0fhjkgjwqqmzbfn9wk10l2vq9v74zkriz5j12b1rx0gdwzlfybn8";
sha256 = "19ppj0i59kk70j09gap6azm0jm4y95fr5fx7n9gx377y3xjs8h03";
};
enableParallelBuilding = true;
@ -99,7 +99,6 @@ let
ncurses
neovimLibvterm
unibilium
luajit
luaPackages.lua
gperf
] ++ optional withJemalloc jemalloc
@ -115,7 +114,7 @@ let
LUA_PATH = stdenv.lib.concatStringsSep ";" (map luaPackages.getLuaPath lualibs);
LUA_CPATH = stdenv.lib.concatStringsSep ";" (map luaPackages.getLuaCPath lualibs);
lualibs = [ luaPackages.mpack luaPackages.lpeg luajitPackages.lpeg luaPackages.luabitop ];
lualibs = [ luaPackages.mpack luaPackages.lpeg luaPackages.luabitop ];
cmakeFlags = [
"-DLUA_PRG=${luaPackages.lua}/bin/lua"
@ -163,7 +162,7 @@ let
# those contributions were copied from Vim (identified in the commit logs
# by the vim-patch token). See LICENSE for details."
license = with licenses; [ asl20 vim ];
maintainers = with maintainers; [ manveru garbas ];
maintainers = with maintainers; [ manveru garbas rvolosatovs ];
platforms = platforms.unix;
};
};

View File

@ -4,7 +4,7 @@ with stdenv.lib;
pythonPackages.buildPythonPackage rec {
name = "neovim-remote-${version}";
version = "v1.6.0";
version = "v1.8.6";
disabled = !pythonPackages.isPy3k;
src = fetchFromGitHub {

View File

@ -2,7 +2,7 @@ GEM
remote: https://rubygems.org/
specs:
msgpack (1.1.0)
neovim (0.5.0)
neovim (0.5.1)
msgpack (~> 1.0)
PLATFORMS
@ -12,4 +12,4 @@ DEPENDENCIES
neovim
BUNDLED WITH
1.15.1
1.14.6

View File

@ -11,9 +11,9 @@
dependencies = ["msgpack"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1da0ha3mz63iyihldp7185b87wx86jg07023xjhbng6i28y1ksn7";
sha256 = "08xn7r4g13wl4bhvkmp4hx3x0ppvifs1x2iiqh8jl9f1jb4jhfcp";
type = "gem";
};
version = "0.5.0";
version = "0.5.1";
};
}

View File

@ -2,20 +2,17 @@
stdenv.mkDerivation rec {
name = "libmpack-${version}";
version = "1.0.3-rev${rev}";
rev = "80bd55ea677e70b041f65a4b99438c1f059cce4b";
version = "1.0.5";
src = fetchFromGitHub {
owner = "tarruda";
repo = "libmpack";
inherit rev;
sha256 = "1whnbgxd5580h59kvc2xgx6ymw7nk9kz6r4ajgsfv6c6h2xbwbl3";
rev = version;
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
};
LIBTOOL = "libtool";
buildInputs = [ libtool ];
installPhase = ''
mkdir -p $out/lib/libmpack
cp -R build/* $out/lib/libmpack
rm -rf $out/lib/libmpack/debug
preInstall = ''
export PREFIX=$out
'';
meta = with stdenv.lib; {
description = "Simple implementation of msgpack in C";

View File

@ -17036,7 +17036,9 @@ with pkgs;
vimpc = callPackage ../applications/audio/vimpc { };
neovim = callPackage ../applications/editors/neovim { };
neovim = callPackage ../applications/editors/neovim {
luaPackages = luajitPackages;
};
neovim-qt = libsForQt5.callPackage ../applications/editors/neovim/qt.nix { };

View File

@ -614,12 +614,16 @@ let
};
mpack = buildLuaPackage rec {
name = "lua-mpack-${libmpack.version}";
name = "lua-mpack-${version}";
version = "1.0.7_${rev}";
rev = "ef025224a799066b818120fb1f30a308543a6e99";
# NOTE: For updating, new Lua mpack bindings live at:
# https://github.com/libmpack/libmpack-lua.
src = libmpack.src;
sourceRoot = "${src.name}/binding/lua";
src = fetchFromGitHub {
owner = "libmpack";
repo = "libmpack-lua";
inherit rev;
sha256 = "1nydi6xbmxwl1fmi32v5v8n74msnmzblzqaqnb102w6vkinampsb";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libmpack ]; # ++ [ libtool lua ];
@ -627,19 +631,19 @@ let
preInstall = ''
mkdir -p $out/lib/lua/${lua.luaversion}
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${libmpack}
'';
NIX_CFLAGS_COMPILE = "-Wno-error -fpic";
installFlags = [
"USE_SYSTEM_LUA=yes"
"LUA_VERSION_MAJ_MIN="
"USE_SYSTEM_MPACK=yes"
"MPACK_LUA_VERSION=${(builtins.parseDrvName lua.name).version}"
"LUA_INCLUDE=-I${lua}/include"
"LUA_CMOD_INSTALLDIR=$$out/lib/lua/${lua.luaversion}"
];
# gcc -llua fails with luajit.
disabled = isLuaJIT;
meta = with stdenv.lib; {
description = "Lua bindings for libmpack";
homepage = "https://github.com/libmpack/libmpack-lua";

View File

@ -22927,12 +22927,12 @@ EOF
trollius = callPackage ../development/python-modules/trollius {};
neovim = buildPythonPackage rec {
version = "0.1.13";
version = "0.2.0";
name = "neovim-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/n/neovim/${name}.tar.gz";
sha256 = "0pzk5639jjjx46a6arkwy31falmk5w1061icbml8njm3rbrwwhgx";
sha256 = "1ywkgbrxd95cwlglihydmffcw2d2aji6562aqncymxs3ld5y02yn";
};
buildInputs = with self; [ nose ];