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:
parent
a472c57ffc
commit
7dce6c88d2
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, gettext, libmsgpack, libtermkey
|
{ 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
|
, unibilium, makeWrapper, vimUtils, xsel, gperf
|
||||||
|
|
||||||
, withPython ? true, pythonPackages, extraPythonPackages ? []
|
, withPython ? true, pythonPackages, extraPythonPackages ? []
|
||||||
@ -19,13 +19,13 @@ let
|
|||||||
# Note: this is NOT the libvterm already in nixpkgs, but some NIH silliness:
|
# Note: this is NOT the libvterm already in nixpkgs, but some NIH silliness:
|
||||||
neovimLibvterm = stdenv.mkDerivation rec {
|
neovimLibvterm = stdenv.mkDerivation rec {
|
||||||
name = "neovim-libvterm-${version}";
|
name = "neovim-libvterm-${version}";
|
||||||
version = "2016-10-07";
|
version = "2017-11-05";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "neovim";
|
owner = "neovim";
|
||||||
repo = "libvterm";
|
repo = "libvterm";
|
||||||
rev = "5a748f97fbf27003e141002b58933a99f3addf8d";
|
rev = "4ca7ebf7d25856e90bc9d9cc49412e80be7c4ea8";
|
||||||
sha256 = "1fnd57f5n9h7z50a4vj7g96k6ndsdknjqsibgnxi9ndhyz244qbx";
|
sha256 = "05kyvvz8af90mvig11ya5xd8f4mbvapwyclyrihm9lwas706lzf6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl ];
|
buildInputs = [ perl ];
|
||||||
@ -81,13 +81,13 @@ let
|
|||||||
|
|
||||||
neovim = stdenv.mkDerivation rec {
|
neovim = stdenv.mkDerivation rec {
|
||||||
name = "neovim-${version}";
|
name = "neovim-${version}";
|
||||||
version = "0.2.0";
|
version = "0.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "neovim";
|
owner = "neovim";
|
||||||
repo = "neovim";
|
repo = "neovim";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0fhjkgjwqqmzbfn9wk10l2vq9v74zkriz5j12b1rx0gdwzlfybn8";
|
sha256 = "19ppj0i59kk70j09gap6azm0jm4y95fr5fx7n9gx377y3xjs8h03";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -99,7 +99,6 @@ let
|
|||||||
ncurses
|
ncurses
|
||||||
neovimLibvterm
|
neovimLibvterm
|
||||||
unibilium
|
unibilium
|
||||||
luajit
|
|
||||||
luaPackages.lua
|
luaPackages.lua
|
||||||
gperf
|
gperf
|
||||||
] ++ optional withJemalloc jemalloc
|
] ++ optional withJemalloc jemalloc
|
||||||
@ -115,7 +114,7 @@ let
|
|||||||
LUA_PATH = stdenv.lib.concatStringsSep ";" (map luaPackages.getLuaPath lualibs);
|
LUA_PATH = stdenv.lib.concatStringsSep ";" (map luaPackages.getLuaPath lualibs);
|
||||||
LUA_CPATH = stdenv.lib.concatStringsSep ";" (map luaPackages.getLuaCPath 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 = [
|
cmakeFlags = [
|
||||||
"-DLUA_PRG=${luaPackages.lua}/bin/lua"
|
"-DLUA_PRG=${luaPackages.lua}/bin/lua"
|
||||||
@ -163,7 +162,7 @@ let
|
|||||||
# those contributions were copied from Vim (identified in the commit logs
|
# those contributions were copied from Vim (identified in the commit logs
|
||||||
# by the vim-patch token). See LICENSE for details."
|
# by the vim-patch token). See LICENSE for details."
|
||||||
license = with licenses; [ asl20 vim ];
|
license = with licenses; [ asl20 vim ];
|
||||||
maintainers = with maintainers; [ manveru garbas ];
|
maintainers = with maintainers; [ manveru garbas rvolosatovs ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -4,7 +4,7 @@ with stdenv.lib;
|
|||||||
|
|
||||||
pythonPackages.buildPythonPackage rec {
|
pythonPackages.buildPythonPackage rec {
|
||||||
name = "neovim-remote-${version}";
|
name = "neovim-remote-${version}";
|
||||||
version = "v1.6.0";
|
version = "v1.8.6";
|
||||||
disabled = !pythonPackages.isPy3k;
|
disabled = !pythonPackages.isPy3k;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -2,7 +2,7 @@ GEM
|
|||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
msgpack (1.1.0)
|
msgpack (1.1.0)
|
||||||
neovim (0.5.0)
|
neovim (0.5.1)
|
||||||
msgpack (~> 1.0)
|
msgpack (~> 1.0)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
@ -12,4 +12,4 @@ DEPENDENCIES
|
|||||||
neovim
|
neovim
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.15.1
|
1.14.6
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
dependencies = ["msgpack"];
|
dependencies = ["msgpack"];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1da0ha3mz63iyihldp7185b87wx86jg07023xjhbng6i28y1ksn7";
|
sha256 = "08xn7r4g13wl4bhvkmp4hx3x0ppvifs1x2iiqh8jl9f1jb4jhfcp";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "0.5.0";
|
version = "0.5.1";
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -2,20 +2,17 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libmpack-${version}";
|
name = "libmpack-${version}";
|
||||||
version = "1.0.3-rev${rev}";
|
version = "1.0.5";
|
||||||
rev = "80bd55ea677e70b041f65a4b99438c1f059cce4b";
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tarruda";
|
owner = "tarruda";
|
||||||
repo = "libmpack";
|
repo = "libmpack";
|
||||||
inherit rev;
|
rev = version;
|
||||||
sha256 = "1whnbgxd5580h59kvc2xgx6ymw7nk9kz6r4ajgsfv6c6h2xbwbl3";
|
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
|
||||||
};
|
};
|
||||||
LIBTOOL = "libtool";
|
LIBTOOL = "libtool";
|
||||||
buildInputs = [ libtool ];
|
buildInputs = [ libtool ];
|
||||||
installPhase = ''
|
preInstall = ''
|
||||||
mkdir -p $out/lib/libmpack
|
export PREFIX=$out
|
||||||
cp -R build/* $out/lib/libmpack
|
|
||||||
rm -rf $out/lib/libmpack/debug
|
|
||||||
'';
|
'';
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Simple implementation of msgpack in C";
|
description = "Simple implementation of msgpack in C";
|
||||||
|
@ -17036,7 +17036,9 @@ with pkgs;
|
|||||||
|
|
||||||
vimpc = callPackage ../applications/audio/vimpc { };
|
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 { };
|
neovim-qt = libsForQt5.callPackage ../applications/editors/neovim/qt.nix { };
|
||||||
|
|
||||||
|
@ -614,12 +614,16 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
mpack = buildLuaPackage rec {
|
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:
|
src = fetchFromGitHub {
|
||||||
# https://github.com/libmpack/libmpack-lua.
|
owner = "libmpack";
|
||||||
src = libmpack.src;
|
repo = "libmpack-lua";
|
||||||
sourceRoot = "${src.name}/binding/lua";
|
inherit rev;
|
||||||
|
sha256 = "1nydi6xbmxwl1fmi32v5v8n74msnmzblzqaqnb102w6vkinampsb";
|
||||||
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libmpack ]; # ++ [ libtool lua ];
|
buildInputs = [ libmpack ]; # ++ [ libtool lua ];
|
||||||
@ -627,19 +631,19 @@ let
|
|||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p $out/lib/lua/${lua.luaversion}
|
mkdir -p $out/lib/lua/${lua.luaversion}
|
||||||
|
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${libmpack}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error -fpic";
|
NIX_CFLAGS_COMPILE = "-Wno-error -fpic";
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"USE_SYSTEM_LUA=yes"
|
"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}"
|
"LUA_CMOD_INSTALLDIR=$$out/lib/lua/${lua.luaversion}"
|
||||||
];
|
];
|
||||||
|
|
||||||
# gcc -llua fails with luajit.
|
|
||||||
disabled = isLuaJIT;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Lua bindings for libmpack";
|
description = "Lua bindings for libmpack";
|
||||||
homepage = "https://github.com/libmpack/libmpack-lua";
|
homepage = "https://github.com/libmpack/libmpack-lua";
|
||||||
|
@ -22927,12 +22927,12 @@ EOF
|
|||||||
trollius = callPackage ../development/python-modules/trollius {};
|
trollius = callPackage ../development/python-modules/trollius {};
|
||||||
|
|
||||||
neovim = buildPythonPackage rec {
|
neovim = buildPythonPackage rec {
|
||||||
version = "0.1.13";
|
version = "0.2.0";
|
||||||
name = "neovim-${version}";
|
name = "neovim-${version}";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://pypi/n/neovim/${name}.tar.gz";
|
url = "mirror://pypi/n/neovim/${name}.tar.gz";
|
||||||
sha256 = "0pzk5639jjjx46a6arkwy31falmk5w1061icbml8njm3rbrwwhgx";
|
sha256 = "1ywkgbrxd95cwlglihydmffcw2d2aji6562aqncymxs3ld5y02yn";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with self; [ nose ];
|
buildInputs = with self; [ nose ];
|
||||||
|
Loading…
Reference in New Issue
Block a user