nixpkgs/pkgs/desktops/plasma-5/breeze-gtk.nix

18 lines
518 B
Nix
Raw Normal View History

2019-02-12 18:50:53 +00:00
{ mkDerivation, lib, extra-cmake-modules, gtk2, qtbase, sassc, python3, breeze-qt5 }:
let inherit (lib) getLib; in
2016-04-21 16:01:22 +00:00
mkDerivation {
2022-03-06 21:28:56 +00:00
pname = "breeze-gtk";
2019-02-12 18:50:53 +00:00
nativeBuildInputs = [ extra-cmake-modules sassc python3 python3.pkgs.pycairo breeze-qt5 ];
buildInputs = [ qtbase ];
patches = [
./patches/0001-fix-add-executable-bit.patch
];
postPatch = ''
sed -i cmake/FindGTKEngine.cmake \
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
'';
2017-05-26 20:44:36 +00:00
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
2016-04-21 16:01:22 +00:00
}