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