Files
nixpkgs/pkgs/development/libraries/qtwebkit-plugins/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

43 lines
973 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
qmake,
qtwebkit,
hunspell,
}:
stdenv.mkDerivation {
pname = "qtwebkit-plugins";
version = "unstable-2017-01-25";
src = fetchFromGitHub {
owner = "QupZilla";
repo = "qtwebkit-plugins";
rev = "b58ee9d5b31977491662aa4e8bee16404638bf14";
sha256 = "04wvlhdj45g1v1a3zl0pkf9r72i22h1br10lhhrgad7ypym974gw";
};
nativeBuildInputs = [ qmake ];
buildInputs = [
qtwebkit
hunspell
];
dontWrapQtApps = true;
postPatch = ''
sed -i "s,-lhunspell,-lhunspell-${lib.versions.majorMinor hunspell.version}," src/spellcheck/spellcheck.pri
sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix," src/src.pro
'';
meta = with 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 = [ ];
};
}