2020-04-24 23:36:52 +00:00
|
|
|
{ mkDerivation, lib, extra-cmake-modules, gtk2, qtbase, sassc, python3, breeze-qt5 }:
|
|
|
|
|
|
|
|
let inherit (lib) getLib; in
|
|
|
|
|
|
|
|
mkDerivation {
|
|
|
|
name = "breeze-gtk";
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules sassc python3 python3.pkgs.pycairo breeze-qt5 ];
|
|
|
|
buildInputs = [ qtbase ];
|
2021-12-06 16:07:01 +00:00
|
|
|
patches = [
|
|
|
|
./patches/0001-fix-add-executable-bit.patch
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -i cmake/FindGTKEngine.cmake \
|
|
|
|
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
|
|
|
|
'';
|
|
|
|
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
|
|
|
|
}
|