2019-08-04 08:39:20 +01:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, pkgconfig, gtk3, qtbase, qmake }:
|
2018-09-25 00:07:51 +01:00
|
|
|
|
2019-08-04 08:39:20 +01:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "qgnomeplatform";
|
2018-12-14 14:28:05 +00:00
|
|
|
version = "0.5";
|
2018-09-25 00:07:51 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FedoraQt";
|
|
|
|
repo = "QGnomePlatform";
|
|
|
|
rev = version;
|
2018-12-14 14:28:05 +00:00
|
|
|
sha256 = "01ncj21cxd5p7pch6p3zbhv5wp0dgn9vy5hrw54g49fmqnbb1ymz";
|
2018-09-25 00:07:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
qmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
qtbase
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
# Fix plugin dir
|
|
|
|
substituteInPlace qgnomeplatform.pro \
|
|
|
|
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
|
|
|
|
'';
|
|
|
|
|
2019-08-04 08:39:20 +01:00
|
|
|
meta = with lib; {
|
2018-09-25 00:07:51 +01:00
|
|
|
description = "QPlatformTheme for a better Qt application inclusion in GNOME";
|
|
|
|
homepage = https://github.com/FedoraQt/QGnomePlatform;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|