git.iko.soy/typeable/nixpkgs
on master help sign in
neovim: update to latest master 2015-05-26
commitaf15a201e1884f00f064e4eacf18f1b99b8aa04c authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateWed 27 May 2015, 01:20 (12 years ago) parentb84588c
1 file changed+33−26
pkgs/applications/editors/neovim/default.nix+33−26
pkgs/applications/editors/neovim/default.nix+33−26
@@ -1,62 +1,69 @@
1−{ stdenv, fetchFromGitHub, unzip, ncurses, gettext, pkgconfig
2−, cmake, pkgs, lpeg, lua, luajit, luaMessagePack, luabitop }:
1+{ stdenv, fetchFromGitHub, cmake, gettext, glib, libmsgpack
2+, libtermkey, libtool, libuv, lpeg, lua, luajit, luaMessagePack
3+, luabitop, ncurses, perl, pkgconfig, unibilium
4+, withJemalloc ? true, jemalloc }:
35
4−let version = "2014-11-26"; in
6+let version = "2015-05-26"; in
57stdenv.mkDerivation rec {
68 name = "neovim-${version}";
79
810 src = fetchFromGitHub {
9− sha256 = "1bcmv0h3ln736xdv7r7v97vim2yqfdnkvpbckwdxi69p4d6lfms6";
10− rev = "68fcd8b696dae33897303c9f8265629a31afbf17";
11+ sha256 = "0sszpqlq0yp6r62zgcjcmnllc058wzzh9ccvgb2jh9k19ksszyhc";
12+ rev = "5a9ad68b258f33ebd7fa0a5da47b308f50f1e5e7";
1113 repo = "neovim";
1214 owner = "neovim";
1315 };
1416
15− libmsgpack = stdenv.mkDerivation rec {
16− version = "0.5.9";
17− name = "libmsgpack-${version}";
17+ # FIXME: this is NOT the libvterm already in nixpkgs, but some NIH silliness:
18+ neovimLibvterm = let version = "2015-02-23"; in stdenv.mkDerivation rec {
19+ name = "neovim-libvterm-${version}";
1820
1921 src = fetchFromGitHub {
20− sha256 = "12np3c2q346963mdgwa61y5dfnb91avq2hy4r6i6bdjwa7w6waq4";
21− rev = "ecf4b09acd29746829b6a02939db91dfdec635b4";
22− repo = "msgpack-c";
23− owner = "msgpack";
22+ sha256 = "0i2h74jrx4fy90sv57xj8g4lbjjg4nhrq2rv6rz576fmqfpllcc5";
23+ rev = "20ad1396c178c72873aeeb2870bd726f847acb70";
24+ repo = "libvterm";
25+ owner = "neovim";
2426 };
2527
26− buildInputs = [ cmake ];
28+ buildInputs = [ libtool perl ];
29+
30+ makeFlags = "PREFIX=$(out)";
2731
2832 enableParallelBuilding = true;
2933
3034 meta = with stdenv.lib; {
31− description = "MessagePack implementation for C and C++";
32− homepage = http://msgpack.org;
33− license = licenses.asl20;
34− maintainers = with maintainers; [ manveru nckx ];
35− platforms = platforms.all;
35+ description = "VT220/xterm/ECMA-48 terminal emulator library";
36+ homepage = http://www.leonerd.org.uk/code/libvterm/;
37+ license = licenses.mit;
38+ maintainers = with maintainers; [ nckx ];
39+ platforms = platforms.unix;
3640 };
3741 };
3842
3943 enableParallelBuilding = true;
4044
4145 buildInputs = [
42− ncurses
43− pkgconfig
4446 cmake
45− pkgs.libuvVersions.v0_11_29
47+ glib
48+ libtermkey
49+ libuv
4650 luajit
4751 lua
4852 lpeg
4953 luaMessagePack
5054 luabitop
5155 libmsgpack
56+ ncurses
57+ neovimLibvterm
58+ pkgconfig
59+ unibilium
60+ ] ++ stdenv.lib.optional withJemalloc jemalloc;
61+ nativeBuildInputs = [
62+ gettext
5263 ];
53− nativeBuildInputs = [ gettext ];
5464
5565 LUA_CPATH="${lpeg}/lib/lua/${lua.luaversion}/?.so;${luabitop}/lib/lua/5.2/?.so";
5666 LUA_PATH="${luaMessagePack}/share/lua/5.1/?.lua";
57− cmakeFlags = [
58− "-DUSE_BUNDLED_MSGPACK=ON"
59− ];
6067
6168 meta = with stdenv.lib; {
6269 description = "Vim text editor fork focused on extensibility and agility";
@@ -68,7 +75,7 @@ stdenv.mkDerivation rec {
6875 modifications to the core source
6976 - Improve extensibility with a new plugin architecture
7077 '';
71− homepage = http://www.neovim.org;
78+ homepage = http://www.neovim.io;
7279 # "Contributions committed before b17d96 by authors who did not sign the
7380 # Contributor License Agreement (CLA) remain under the Vim license.
7481 # Contributions committed after b17d96 are licensed under Apache 2.0 unless