mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
30 lines
886 B
Nix
30 lines
886 B
Nix
{ stdenv, fetchFromGitHub, qmake, qtwebkit, hunspell }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "qtwebkit-plugins-2015-05-09";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "QupZilla";
|
|
repo = "qtwebkit-plugins";
|
|
rev = "4e2e0402abd847346bec704be5305ba849eb754b";
|
|
sha256 = "0xyq25l56jgdxgqqv0380brhw9gg0hin5hyrf1j6d3c8k1gka20m";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
buildInputs = [ qtwebkit hunspell ];
|
|
|
|
postPatch = ''
|
|
sed -i "s,-lhunspell,-lhunspell-1.6," src/spellcheck/spellcheck.pri
|
|
sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix," src/src.pro
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Spell checking plugin using Hunspell and HTML5 Notifications plugin for QtWebKit";
|
|
homepage = https://github.com/QupZilla/qtwebkit-plugins;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|