@@ -1,4 +1,4 @@
1−{ mkDerivation, lib, fetchurl,
1+{ mkDerivation, lib, fetchpatch, fetchurl,
22 cmake, extra-cmake-modules, qtwebengine, qtscript, grantlee,
33 kxmlgui, kwallet, kparts, kdoctools, kjobwidgets, kdesignerplugin,
44 kiconthemes, knewstuff, sqlcipher, qca-qt5, kactivities, karchive,
@@ -14,6 +14,14 @@ mkDerivation rec {
1414 sha256 = "0rakfngp7j2x7h1isg6lbc5kva6k1kg99dz0zl43dc28s15can1w";
1515 };
1616
17+ patches = [
18+ (fetchpatch {
19+ name = "skrooge-2.20.0-missing-header.patch";
20+ url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-office/skrooge/files/skrooge-2.20.0-missing-header.patch?id=cb8c91474b0ae2f9e889f89afe2d9114dbd1784f";
21+ sha256 = "154zsidx45h6qrcqjh6czjxrcwrcmbyv3yh2k1s40v8pzvjwzrld";
22+ })
23+ ];
24+
1725 nativeBuildInputs = [
1826 cmake extra-cmake-modules kdoctools shared-mime-info
1927 ];
@@ -37,6 +45,5 @@ mkDerivation rec {
3745 license = with licenses; [ gpl3 ];
3846 maintainers = with maintainers; [ joko ];
3947 homepage = https://skrooge.org/;
40− broken = true;
4148 };
4249}