2017-06-02 16:40:19 +01:00
|
|
|
{ stdenv, fetchFromGitHub, qmake, qtbase, pkgconfig, gtk2 }:
|
2016-12-11 20:08:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-04-23 14:06:55 +01:00
|
|
|
name = "qtstyleplugins-2017-03-11";
|
2016-12-11 20:08:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qt";
|
|
|
|
repo = "qtstyleplugins";
|
2017-04-23 14:06:55 +01:00
|
|
|
rev = "335dbece103e2cbf6c7cf819ab6672c2956b17b3";
|
|
|
|
sha256 = "085wyn85nrmzr8nv5zv7fi2kqf8rp1gnd30h72s30j55xvhmxvmy";
|
2016-12-11 20:08:37 +00:00
|
|
|
};
|
|
|
|
|
2017-06-02 16:40:19 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig qmake ];
|
|
|
|
buildInputs = [ gtk2 ];
|
2016-12-11 20:08:37 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make INSTALL_ROOT=$NIX_QT5_TMP install
|
|
|
|
mv $NIX_QT5_TMP/$NIX_QT5_TMP $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|