qtstyleplugins: fix gtk2 background
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{ lib, mkDerivation, fetchFromGitHub, qmake, pkg-config, gtk2 }:
|
||||
{ lib, mkDerivation, fetchFromGitHub, fetchpatch, qmake, pkg-config, gtk2 }:
|
||||
|
||||
mkDerivation {
|
||||
name = "qtstyleplugins-2017-03-11";
|
||||
pname = "qtstyleplugins";
|
||||
version = "unstable-2017-03-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qt";
|
||||
@@ -10,7 +11,18 @@ mkDerivation {
|
||||
sha256 = "085wyn85nrmzr8nv5zv7fi2kqf8rp1gnd30h72s30j55xvhmxvmy";
|
||||
};
|
||||
|
||||
patches = [ ./fix-build-against-Qt-5.15.patch ];
|
||||
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=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config qmake ];
|
||||
buildInputs = [ gtk2 ];
|
||||
|
||||
Reference in New Issue
Block a user