Skip to content

Commit

Permalink
neovim-qt: 0.2.4 -> 0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Hoeg committed Mar 8, 2017
1 parent 060f7cb commit 2c99575
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/applications/editors/neovim/qt.nix
@@ -1,15 +1,15 @@
{ stdenv, fetchFromGitHub, cmake, doxygen
, libmsgpack, makeWrapper, neovim, pythonPackages, qtbase }:
, libmsgpack, makeQtWrapper, neovim, pythonPackages, qtbase }:

stdenv.mkDerivation rec {
name = "neovim-qt-${version}";
version = "0.2.4";
version = "0.2.5";

src = fetchFromGitHub {
owner = "equalsraf";
repo = "neovim-qt";
rev = "v${version}";
sha256 = "0yf9wwkl0lbbj3vyf8hxnlsk7jhk5ggivszyqxply69dbar9ww59";
sha256 = "1q706k400j5v9kans71yjz9p36ran2lpz29m4vjzj920llksln3d";
};

cmakeFlags = [
Expand All @@ -25,15 +25,16 @@ stdenv.mkDerivation rec {
jinja2 msgpack python
]);

nativeBuildInputs = [ cmake doxygen makeWrapper ];
nativeBuildInputs = [ cmake doxygen makeQtWrapper ];

enableParallelBuilding = true;

# avoid cmake trying to download libmsgpack
preConfigure = "echo \"\" > third-party/CMakeLists.txt";

postInstall = ''
wrapProgram "$out/bin/nvim-qt" --prefix PATH : "${neovim}/bin"
wrapQtProgram "$out/bin/nvim-qt" \
--prefix PATH : "${neovim}/bin"
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit 2c99575

Please sign in to comment.