git.iko.soy/typeable/nixpkgs
on master help sign in
neovim: various small improvements

- Fix package name ("neovim-nightly" -> "neovim") - Use fetchFromGitHub, remove unused parameters - Improve metadata - Maintain

commitbd67bfa3065e34a4719ac0da3fd02587aa999b7b authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateTue 26 May 2015, 15:12 (12 years ago) parent48b7e40
1 file changed+31−15
pkgs/applications/editors/neovim/default.nix+31−15
pkgs/applications/editors/neovim/default.nix+31−15
@@ -1,34 +1,37 @@
1−{ stdenv, fetchgit, fetchurl, unzip, callPackage, ncurses, gettext, pkgconfig,
2−cmake, pkgs, lpeg, lua, luajit, luaMessagePack, luabitop }:
1+{ stdenv, fetchFromGitHub, unzip, ncurses, gettext, pkgconfig
2+, cmake, pkgs, lpeg, lua, luajit, luaMessagePack, luabitop }:
33
4+let version = "2014-11-26"; in
45stdenv.mkDerivation rec {
5− name = "neovim-nightly";
6+ name = "neovim-${version}";
67
7− version = "nightly";
8−
9− src = fetchgit {
10− url = "https://github.com/neovim/neovim";
8+ src = fetchFromGitHub {
9+ sha256 = "1bcmv0h3ln736xdv7r7v97vim2yqfdnkvpbckwdxi69p4d6lfms6";
1110 rev = "68fcd8b696dae33897303c9f8265629a31afbf17";
12− sha256 = "0hxkcy641jpn4qka44gfvhmb6q3dkjx6lvn9748lcl2gx2d36w4i";
11+ repo = "neovim";
12+ owner = "neovim";
1313 };
1414
1515 libmsgpack = stdenv.mkDerivation rec {
1616 version = "0.5.9";
1717 name = "libmsgpack-${version}";
1818
19− src = fetchgit {
19+ src = fetchFromGitHub {
20+ sha256 = "12np3c2q346963mdgwa61y5dfnb91avq2hy4r6i6bdjwa7w6waq4";
2021 rev = "ecf4b09acd29746829b6a02939db91dfdec635b4";
21− url = "https://github.com/msgpack/msgpack-c";
22− sha256 = "076ygqgxrc3vk2l20l8x2cgcv05py3am6mjjkknr418pf8yav2ww";
22+ repo = "msgpack-c";
23+ owner = "msgpack";
2324 };
2425
2526 buildInputs = [ cmake ];
2627
28+ enableParallelBuilding = true;
29+
2730 meta = with stdenv.lib; {
2831 description = "MessagePack implementation for C and C++";
2932 homepage = http://msgpack.org;
30− maintainers = [ maintainers.manveru ];
3133 license = licenses.asl20;
34+ maintainers = with maintainers; [ manveru nckx ];
3235 platforms = platforms.all;
3336 };
3437 };
@@ -56,10 +59,23 @@ stdenv.mkDerivation rec {
5659 ];
5760
5861 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+ '';
6071 homepage = http://www.neovim.org;
61− maintainers = with maintainers; [ manveru ];
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 ];
78+ maintainers = with maintainers; [ manveru nckx ];
6279 platforms = platforms.unix;
6380 };
6481}
65−