2017-06-02 15:40:19 +00:00
|
|
|
{ stdenv, fetchFromGitHub, qmake, qtwebkit, hunspell }:
|
2016-08-17 14:58:06 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "qtwebkit-plugins-2015-05-09";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "QupZilla";
|
|
|
|
repo = "qtwebkit-plugins";
|
|
|
|
rev = "4e2e0402abd847346bec704be5305ba849eb754b";
|
|
|
|
sha256 = "0xyq25l56jgdxgqqv0380brhw9gg0hin5hyrf1j6d3c8k1gka20m";
|
|
|
|
};
|
|
|
|
|
2017-06-02 15:40:19 +00:00
|
|
|
nativeBuildInputs = [ qmake ];
|
2016-08-17 14:58:06 +00:00
|
|
|
|
|
|
|
buildInputs = [ qtwebkit hunspell ];
|
|
|
|
|
|
|
|
postPatch = ''
|
2017-04-23 02:42:59 +00:00
|
|
|
sed -i "s,-lhunspell,-lhunspell-1.6," src/spellcheck/spellcheck.pri
|
2017-05-15 11:44:33 +00:00
|
|
|
sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix," src/src.pro
|
2016-08-17 14:58:06 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Spell checking plugin using Hunspell and HTML5 Notifications plugin for QtWebKit";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/QupZilla/qtwebkit-plugins;
|
2016-08-17 14:58:06 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|