mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
neovim-qt: 0.2.7 -> 0.2.8
We now also run some of the tests which is better than nothing.
This commit is contained in:
parent
b21778f43e
commit
608fe16482
@ -3,13 +3,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "neovim-qt-${version}";
|
||||
version = "0.2.7";
|
||||
version = "0.2.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "equalsraf";
|
||||
repo = "neovim-qt";
|
||||
rev = "v${version}";
|
||||
sha256 = "1bfni38l7cs0wbd9c6hgz2jfc8h3ixmg94izdvydm8j7amdz0cb6";
|
||||
sha256 = "190yg6kkw953h8wajlqr2hvs2fz65y6z0blmywlg1nff724allaq";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
@ -17,14 +17,6 @@ stdenv.mkDerivation rec {
|
||||
"-DMSGPACK_LIBRARIES=${libmsgpack}/lib/libmsgpackc.so"
|
||||
];
|
||||
|
||||
# The following tests FAILED:
|
||||
# 2 - tst_neovimconnector (Failed)
|
||||
# 3 - tst_callallmethods (Failed)
|
||||
# 4 - tst_encoding (Failed)
|
||||
#
|
||||
# Tests failed when upgraded to neovim 0.2.0
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with pythonPackages; [
|
||||
neovim qtbase libmsgpack
|
||||
] ++ (with pythonPackages; [
|
||||
@ -38,10 +30,18 @@ stdenv.mkDerivation rec {
|
||||
preConfigure = ''
|
||||
# avoid cmake trying to download libmsgpack
|
||||
echo "" > third-party/CMakeLists.txt
|
||||
# we rip out the gui test as spawning a GUI fails in our build environment
|
||||
sed -i '/^add_xtest_gui/d' test/CMakeLists.txt
|
||||
# we rip out a number of tests that fail in the build env
|
||||
# the GUI tests will never work but the others should - they did before neovim 0.2.0
|
||||
# was released
|
||||
sed -i test/CMakeLists.txt \
|
||||
-e '/^add_xtest_gui/d' \
|
||||
-e '/tst_neovimconnector/d' \
|
||||
-e '/tst_callallmethods/d' \
|
||||
-e '/tst_encoding/d'
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/nvim-qt" \
|
||||
--prefix PATH : "${neovim}/bin"
|
||||
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Neovim client library and GUI, in Qt5";
|
||||
license = licenses.isc;
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
inherit (neovim.meta) platforms;
|
||||
inherit version;
|
||||
|
Loading…
Reference in New Issue
Block a user