git.iko.soy/typeable/nixpkgs
on master help sign in
neovim: various small improvements
bd67bfaTobias Geerinckx-Rice
pkgs/applications/editors/neovim/default.nix+31−15
@@ -1,34 +1,37 @@
1−{ stdenv, fetchgit, fetchurl, unzip, callPackage, ncurses, gettext, pkgconfig,
1+{ stdenv, fetchFromGitHub, unzip, ncurses, gettext, pkgconfig
2−cmake, pkgs, lpeg, lua, luajit, luaMessagePack, luabitop }:
2+, cmake, pkgs, lpeg, lua, luajit, luaMessagePack, luabitop }:
3
3
4+let version = "2014-11-26"; in
4stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
5− name = "neovim-nightly";
6+ name = "neovim-${version}";
6
7
7− version = "nightly";
8+ src = fetchFromGitHub {
8−
9+ sha256 = "1bcmv0h3ln736xdv7r7v97vim2yqfdnkvpbckwdxi69p4d6lfms6";
9− src = fetchgit {
10− url = "https://github.com/neovim/neovim";
11 rev = "68fcd8b696dae33897303c9f8265629a31afbf17";
10 rev = "68fcd8b696dae33897303c9f8265629a31afbf17";
12− sha256 = "0hxkcy641jpn4qka44gfvhmb6q3dkjx6lvn9748lcl2gx2d36w4i";
11+ repo = "neovim";
12+ owner = "neovim";
13 };
13 };
14
14
15 libmsgpack = stdenv.mkDerivation rec {
15 libmsgpack = stdenv.mkDerivation rec {
16 version = "0.5.9";
16 version = "0.5.9";
17 name = "libmsgpack-${version}";
17 name = "libmsgpack-${version}";
18
18
19− src = fetchgit {
19+ src = fetchFromGitHub {
20+ sha256 = "12np3c2q346963mdgwa61y5dfnb91avq2hy4r6i6bdjwa7w6waq4";
20 rev = "ecf4b09acd29746829b6a02939db91dfdec635b4";
21 rev = "ecf4b09acd29746829b6a02939db91dfdec635b4";
21− url = "https://github.com/msgpack/msgpack-c";
22+ repo = "msgpack-c";
22− sha256 = "076ygqgxrc3vk2l20l8x2cgcv05py3am6mjjkknr418pf8yav2ww";
23+ owner = "msgpack";
23 };
24 };
24
25
25 buildInputs = [ cmake ];
26 buildInputs = [ cmake ];
26
27
28+ enableParallelBuilding = true;
29+
27 meta = with stdenv.lib; {
30 meta = with stdenv.lib; {
28 description = "MessagePack implementation for C and C++";
31 description = "MessagePack implementation for C and C++";
29 homepage = http://msgpack.org;
32 homepage = http://msgpack.org;
30− maintainers = [ maintainers.manveru ];
31 license = licenses.asl20;
33 license = licenses.asl20;
34+ maintainers = with maintainers; [ manveru nckx ];
32 platforms = platforms.all;
35 platforms = platforms.all;
33 };
36 };
34 };
37 };
@@ -56,10 +59,23 @@ stdenv.mkDerivation rec {
56 ];
59 ];
57
60
58 meta = with stdenv.lib; {
61 meta = with stdenv.lib; {
59− description = "Aggressive refactor of Vim";
62+ description = "Vim text editor fork focused on extensibility and agility";
63+ longDescription = ''
64+ Neovim is a project that seeks to aggressively refactor Vim in order to:
65+ - Simplify maintenance and encourage contributions
66+ - Split the work between multiple developers
67+ - Enable the implementation of new/modern user interfaces without any
68+ modifications to the core source
69+ - Improve extensibility with a new plugin architecture
70+ '';
60 homepage = http://www.neovim.org;
71 homepage = http://www.neovim.org;
72+ # "Contributions committed before b17d96 by authors who did not sign the
73+ # Contributor License Agreement (CLA) remain under the Vim license.
74+ # Contributions committed after b17d96 are licensed under Apache 2.0 unless
75+ # those contributions were copied from Vim (identified in the commit logs
76+ # by the vim-patch token). See LICENSE for details."
77+ license = with licenses; [ asl20 vim ];
61− maintainers = with maintainers; [ manveru ];
78+ maintainers = with maintainers; [ manveru nckx ];
62 platforms = platforms.unix;
79 platforms = platforms.unix;
63 };
80 };
64}
81}
65−