Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 29 lines 886 B view raw
1{ stdenv, fetchFromGitHub, qmake, qtwebkit, hunspell }: 2 3stdenv.mkDerivation { 4 name = "qtwebkit-plugins-2015-05-09"; 5 6 src = fetchFromGitHub { 7 owner = "QupZilla"; 8 repo = "qtwebkit-plugins"; 9 rev = "4e2e0402abd847346bec704be5305ba849eb754b"; 10 sha256 = "0xyq25l56jgdxgqqv0380brhw9gg0hin5hyrf1j6d3c8k1gka20m"; 11 }; 12 13 nativeBuildInputs = [ qmake ]; 14 15 buildInputs = [ qtwebkit hunspell ]; 16 17 postPatch = '' 18 sed -i "s,-lhunspell,-lhunspell-1.6," src/spellcheck/spellcheck.pri 19 sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix," src/src.pro 20 ''; 21 22 meta = with stdenv.lib; { 23 description = "Spell checking plugin using Hunspell and HTML5 Notifications plugin for QtWebKit"; 24 homepage = https://github.com/QupZilla/qtwebkit-plugins; 25 license = licenses.gpl3; 26 platforms = platforms.linux; 27 maintainers = with maintainers; [ abbradar ]; 28 }; 29}