mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
15 lines
377 B
Nix
15 lines
377 B
Nix
{ mkDerivation, lib, extra-cmake-modules, gtk2, qtbase, }:
|
|
|
|
let inherit (lib) getLib; in
|
|
|
|
mkDerivation {
|
|
name = "breeze-gtk";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ qtbase ];
|
|
postPatch = ''
|
|
sed -i cmake/FindGTKEngine.cmake \
|
|
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
|
|
'';
|
|
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
|
|
}
|