2021-03-23 19:22:30 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, fetchpatch, qmake, pkg-config, gtk2 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation {
|
2021-03-23 19:22:30 +00:00
|
|
|
pname = "qtstyleplugins";
|
|
|
|
version = "unstable-2017-03-11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qt";
|
|
|
|
repo = "qtstyleplugins";
|
|
|
|
rev = "335dbece103e2cbf6c7cf819ab6672c2956b17b3";
|
|
|
|
sha256 = "085wyn85nrmzr8nv5zv7fi2kqf8rp1gnd30h72s30j55xvhmxvmy";
|
|
|
|
};
|
|
|
|
|
2021-03-23 19:22:30 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch rec {
|
|
|
|
name = "0001-fix-build-against-Qt-5.15.patch";
|
|
|
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/${name}?h=qt5-styleplugins";
|
|
|
|
sha256 = "j0CgfutqFawy11IqFnlrkfMsMD01NjX/MkfVEVxj1QM=";
|
|
|
|
})
|
|
|
|
(fetchpatch rec {
|
|
|
|
name = "0002-fix-gtk2-background.patch";
|
|
|
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/${name}?h=qt5-styleplugins";
|
|
|
|
sha256 = "qUOkNckrSUEzXY1PUZKfbiCjhNyB5ZBw2IN/j32GKM4=";
|
|
|
|
})
|
|
|
|
];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ gtk2 ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Additional style plugins for Qt5, including BB10, GTK, Cleanlooks, Motif, Plastique";
|
|
|
|
homepage = "http://blog.qt.io/blog/2012/10/30/cleaning-up-styles-in-qt5-and-adding-fusion/";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.gnidorah ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|