git.iko.soy/typeable/nixpkgs
on master help sign in
libvterm-neovim: init at 2017-11-05
commit3290800d6745e44fe42a6b518c45956c35302276 authoradisbladis <adis@blad.is> dateWed 16 May 2018, 13:55 (9 years ago) parentb19c92b
3 files changed+36−30
pkgs/applications/editors/neovim/default.nix+2−30 pkgs/development/libraries/libvterm-neovim/default.nix+33 pkgs/top-level/all-packages.nix+1
pkgs/applications/editors/neovim/default.nix+2−30
@@ -1,6 +1,7 @@
11{ stdenv, fetchFromGitHub, cmake, gettext, libmsgpack, libtermkey
22, libtool, libuv, luaPackages, ncurses, perl, pkgconfig
33, unibilium, vimUtils, xsel, gperf, callPackage
4+, libvterm-neovim
45, withJemalloc ? true, jemalloc
56}:
67
@@ -8,35 +9,6 @@ with stdenv.lib;
89
910let
1011
11− # Note: this is NOT the libvterm already in nixpkgs, but some NIH silliness:
12− neovimLibvterm = stdenv.mkDerivation rec {
13− name = "neovim-libvterm-${version}";
14− version = "2017-11-05";
15−
16− src = fetchFromGitHub {
17− owner = "neovim";
18− repo = "libvterm";
19− rev = "4ca7ebf7d25856e90bc9d9cc49412e80be7c4ea8";
20− sha256 = "05kyvvz8af90mvig11ya5xd8f4mbvapwyclyrihm9lwas706lzf6";
21− };
22−
23− buildInputs = [ perl ];
24− nativeBuildInputs = [ libtool ];
25−
26− makeFlags = [ "PREFIX=$(out)" ]
27− ++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
28−
29− enableParallelBuilding = true;
30−
31− meta = {
32− description = "VT220/xterm/ECMA-48 terminal emulator library";
33− homepage = http://www.leonerd.org.uk/code/libvterm/;
34− license = licenses.mit;
35− maintainers = with maintainers; [ garbas ];
36− platforms = platforms.unix;
37− };
38− };
39−
4012 neovim = stdenv.mkDerivation rec {
4113 name = "neovim-unwrapped-${version}";
4214 version = "0.2.2";
@@ -55,7 +27,7 @@ let
5527 libuv
5628 libmsgpack
5729 ncurses
58− neovimLibvterm
30+ libvterm-neovim
5931 unibilium
6032 luaPackages.lua
6133 gperf
pkgs/development/libraries/libvterm-neovim/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv
2+, fetchFromGitHub
3+, perl
4+, libtool
5+}:
6+
7+stdenv.mkDerivation rec {
8+ name = "neovim-libvterm-${version}";
9+ version = "2017-11-05";
10+
11+ src = fetchFromGitHub {
12+ owner = "neovim";
13+ repo = "libvterm";
14+ rev = "4ca7ebf7d25856e90bc9d9cc49412e80be7c4ea8";
15+ sha256 = "05kyvvz8af90mvig11ya5xd8f4mbvapwyclyrihm9lwas706lzf6";
16+ };
17+
18+ buildInputs = [ perl ];
19+ nativeBuildInputs = [ libtool ];
20+
21+ makeFlags = [ "PREFIX=$(out)" ]
22+ ++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
23+
24+ enableParallelBuilding = true;
25+
26+ meta = with stdenv.lib; {
27+ description = "VT220/xterm/ECMA-48 terminal emulator library";
28+ homepage = http://www.leonerd.org.uk/code/libvterm/;
29+ license = licenses.mit;
30+ maintainers = with maintainers; [ garbas ];
31+ platforms = platforms.unix;
32+ };
33+}
pkgs/top-level/all-packages.nix+1
@@ -10529,6 +10529,7 @@ with pkgs;
1052910529 libvpx-git = callPackage ../development/libraries/libvpx/git.nix { };
1053010530
1053110531 libvterm = callPackage ../development/libraries/libvterm { };
10532+ libvterm-neovim = callPackage ../development/libraries/libvterm-neovim { };
1053210533
1053310534 libvorbis = callPackage ../development/libraries/libvorbis { };
1053410535