1 { stdenv, lib, libsForQt5, fetchFromGitHub, cmake, doxygen, msgpack, neovim, python3Packages }:
3 stdenv.mkDerivation rec {
4 pname = "neovim-qt-unwrapped";
7 src = fetchFromGitHub {
11 hash = "sha256-BitFHHwL2aqBUpY/8eHaZIFvnDCeABC6w33Vmbx0z2g=";
15 "-DUSE_SYSTEM_MSGPACK=1"
16 "-DENABLE_TESTS=0" # tests fail because xcb platform plugin is not found
19 nativeBuildInputs = [ cmake doxygen libsForQt5.wrapQtAppsHook ];
22 neovim.unwrapped # only used to generate help tags at build time
25 ] ++ (with python3Packages; [
30 # The GUI tests require a running X server, disable them
31 sed -i ../test/CMakeLists.txt -e '/^add_xtest_gui/d'
37 description = "Neovim client library and GUI, in Qt5";
38 homepage = "https://github.com/equalsraf/neovim-qt";
39 license = licenses.isc;
40 mainProgram = "nvim-qt";
41 maintainers = with maintainers; [ peterhoeg ];
42 inherit (neovim.meta) platforms;