mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
697277d7da
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
18 lines
517 B
Nix
18 lines
517 B
Nix
{ 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 ];
|
|
patches = [
|
|
./patches/0001-fix-add-executable-bit.patch
|
|
];
|
|
postPatch = ''
|
|
sed -i cmake/FindGTKEngine.cmake \
|
|
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
|
|
'';
|
|
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
|
|
}
|