@@ -3,13 +3,13 @@
33
44stdenv.mkDerivation rec {
55 name = "neovim-qt-${version}";
6− version = "0.2.7";
6+ version = "0.2.8";
77
88 src = fetchFromGitHub {
99 owner = "equalsraf";
1010 repo = "neovim-qt";
1111 rev = "v${version}";
12− sha256 = "1bfni38l7cs0wbd9c6hgz2jfc8h3ixmg94izdvydm8j7amdz0cb6";
12+ sha256 = "190yg6kkw953h8wajlqr2hvs2fz65y6z0blmywlg1nff724allaq";
1313 };
1414
1515 cmakeFlags = [
@@ -17,14 +17,6 @@ stdenv.mkDerivation rec {
1717 "-DMSGPACK_LIBRARIES=${libmsgpack}/lib/libmsgpackc.so"
1818 ];
1919
20− # The following tests FAILED:
21− # 2 - tst_neovimconnector (Failed)
22− # 3 - tst_callallmethods (Failed)
23− # 4 - tst_encoding (Failed)
24− #
25− # Tests failed when upgraded to neovim 0.2.0
26− doCheck = false;
27−
2820 buildInputs = with pythonPackages; [
2921 neovim qtbase libmsgpack
3022 ] ++ (with pythonPackages; [
@@ -38,10 +30,18 @@ stdenv.mkDerivation rec {
3830 preConfigure = ''
3931 # avoid cmake trying to download libmsgpack
4032 echo "" > third-party/CMakeLists.txt
41− # we rip out the gui test as spawning a GUI fails in our build environment
42− sed -i '/^add_xtest_gui/d' test/CMakeLists.txt
33+ # we rip out a number of tests that fail in the build env
34+ # the GUI tests will never work but the others should - they did before neovim 0.2.0
35+ # was released
36+ sed -i test/CMakeLists.txt \
37+ -e '/^add_xtest_gui/d' \
38+ -e '/tst_neovimconnector/d' \
39+ -e '/tst_callallmethods/d' \
40+ -e '/tst_encoding/d'
4341 '';
4442
43+ doCheck = true;
44+
4545 postInstall = ''
4646 wrapProgram "$out/bin/nvim-qt" \
4747 --prefix PATH : "${neovim}/bin"
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
4949
5050 meta = with stdenv.lib; {
5151 description = "Neovim client library and GUI, in Qt5";
52− license = licenses.isc;
52+ license = licenses.isc;
5353 maintainers = with maintainers; [ peterhoeg ];
5454 inherit (neovim.meta) platforms;
5555 inherit version;