2017-05-22 19:49:07 +01:00
|
|
|
{
|
2019-09-16 02:49:59 +01:00
|
|
|
mkDerivation, lib, fetchpatch,
|
2017-05-22 19:49:07 +01:00
|
|
|
extra-cmake-modules,
|
|
|
|
attica, karchive, kcompletion, kconfig, kcoreaddons, ki18n, kiconthemes,
|
|
|
|
kio, kitemviews, kservice, ktextwidgets, kwidgetsaddons, kxmlgui, qtbase,
|
2019-09-16 02:36:35 +01:00
|
|
|
qtdeclarative, kirigami2,
|
2016-04-21 16:32:21 +01:00
|
|
|
}:
|
|
|
|
|
2017-05-15 18:05:35 +01:00
|
|
|
mkDerivation {
|
2016-04-21 16:32:21 +01:00
|
|
|
name = "knewstuff";
|
2016-04-28 16:58:14 +01:00
|
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2017-05-22 19:49:07 +01:00
|
|
|
buildInputs = [
|
|
|
|
karchive kcompletion kconfig kcoreaddons ki18n kiconthemes kio kitemviews
|
2019-09-16 02:36:35 +01:00
|
|
|
ktextwidgets kwidgetsaddons qtbase qtdeclarative kirigami2
|
2016-04-21 16:32:21 +01:00
|
|
|
];
|
2017-05-22 19:49:07 +01:00
|
|
|
propagatedBuildInputs = [ attica kservice kxmlgui ];
|
2019-09-16 02:49:59 +01:00
|
|
|
|
|
|
|
patches = [ (fetchpatch {
|
|
|
|
url = "https://github.com/KDE/knewstuff/commit/dbf788c10130eaa3f5ea37a7f22eb4569471aa04.patch";
|
|
|
|
sha256 = "1225rgqg1j120nvhgsahvsq2xlkg91lr37zp14x19krixxgx521j";
|
|
|
|
revert = true;
|
|
|
|
}) ];
|
2016-04-21 16:32:21 +01:00
|
|
|
}
|