2021-02-06 18:56:59 +01:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, fetchpatch, qmake, pkg-config, gtk2 }:
|
2016-12-11 21:08:37 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
mkDerivation {
|
2021-02-06 18:56:59 +01:00
|
|
|
pname = "qtstyleplugins";
|
|
|
|
version = "unstable-2017-03-11";
|
2016-12-11 21:08:37 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qt";
|
|
|
|
repo = "qtstyleplugins";
|
2017-04-23 15:06:55 +02:00
|
|
|
rev = "335dbece103e2cbf6c7cf819ab6672c2956b17b3";
|
|
|
|
sha256 = "085wyn85nrmzr8nv5zv7fi2kqf8rp1gnd30h72s30j55xvhmxvmy";
|
2016-12-11 21:08:37 +01:00
|
|
|
};
|
|
|
|
|
2021-02-06 18:56:59 +01: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-11 18:55:29 +02:00
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
2017-06-02 17:40:19 +02:00
|
|
|
buildInputs = [ gtk2 ];
|
2016-12-11 21:08:37 +01:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2019-09-04 00:49:40 +02:00
|
|
|
description = "Additional style plugins for Qt5, including BB10, GTK, Cleanlooks, Motif, Plastique";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://blog.qt.io/blog/2012/10/30/cleaning-up-styles-in-qt5-and-adding-fusion/";
|
2016-12-11 21:08:37 +01:00
|
|
|
license = licenses.lgpl21;
|
2021-04-29 07:21:13 +02:00
|
|
|
maintainers = [ ];
|
2016-12-11 21:08:37 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|