1 { lib, stdenv, fetchFromGitHub, qmake, qtwebkit, hunspell }:
4 pname = "qtwebkit-plugins";
5 version = "unstable-2017-01-25";
7 src = fetchFromGitHub {
9 repo = "qtwebkit-plugins";
10 rev = "b58ee9d5b31977491662aa4e8bee16404638bf14";
11 sha256 = "04wvlhdj45g1v1a3zl0pkf9r72i22h1br10lhhrgad7ypym974gw";
14 nativeBuildInputs = [ qmake ];
16 buildInputs = [ qtwebkit hunspell ];
18 dontWrapQtApps = true;
21 sed -i "s,-lhunspell,-lhunspell-${lib.versions.majorMinor hunspell.version}," src/spellcheck/spellcheck.pri
22 sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix," src/src.pro
26 description = "Spell checking plugin using Hunspell and HTML5 Notifications plugin for QtWebKit";
27 homepage = "https://github.com/QupZilla/qtwebkit-plugins";
28 license = licenses.gpl3;
29 platforms = platforms.linux;
30 maintainers = with maintainers; [ abbradar ];