1 { lib, mkDerivation, fetchFromGitHub, fetchpatch, qmake, pkg-config, gtk2 }:
4 pname = "qtstyleplugins";
5 version = "unstable-2017-03-11";
7 src = fetchFromGitHub {
9 repo = "qtstyleplugins";
10 rev = "335dbece103e2cbf6c7cf819ab6672c2956b17b3";
11 sha256 = "085wyn85nrmzr8nv5zv7fi2kqf8rp1gnd30h72s30j55xvhmxvmy";
16 name = "0001-fix-build-against-Qt-5.15.patch";
17 url = "https://aur.archlinux.org/cgit/aur.git/plain/${name}?h=qt5-styleplugins";
18 sha256 = "j0CgfutqFawy11IqFnlrkfMsMD01NjX/MkfVEVxj1QM=";
21 name = "0002-fix-gtk2-background.patch";
22 url = "https://aur.archlinux.org/cgit/aur.git/plain/${name}?h=qt5-styleplugins";
23 sha256 = "qUOkNckrSUEzXY1PUZKfbiCjhNyB5ZBw2IN/j32GKM4=";
27 nativeBuildInputs = [ pkg-config qmake ];
28 buildInputs = [ gtk2 ];
31 description = "Additional style plugins for Qt5, including BB10, GTK, Cleanlooks, Motif, Plastique";
32 homepage = "http://blog.qt.io/blog/2012/10/30/cleaning-up-styles-in-qt5-and-adding-fusion/";
33 license = licenses.lgpl21;
35 platforms = platforms.linux;