1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

qgnomeplatform: init at 0.4

This commit is contained in:
worldofpeace 2018-09-24 19:07:51 -04:00
parent f37b39d279
commit 6793313708
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, pkgconfig, gtk3, qtbase, qmake }:
stdenv.mkDerivation rec {
name = "qgnomeplatform-${version}";
version = "0.4";
src = fetchFromGitHub {
owner = "FedoraQt";
repo = "QGnomePlatform";
rev = version;
sha256 = "1403300d435g7ngcxsgnllhryk63nrhl1ahx16b28wkxnh2vi9ly";
};
nativeBuildInputs = [
pkgconfig
qmake
];
buildInputs = [
gtk3
qtbase
];
postPatch = ''
# Fix plugin dir
substituteInPlace qgnomeplatform.pro \
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
'';
meta = with stdenv.lib; {
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;
};
}

View file

@ -11953,6 +11953,8 @@ with pkgs;
qrupdate = callPackage ../development/libraries/qrupdate { };
qgnomeplatform = libsForQt5.callPackage ../development/libraries/qgnomeplatform { };
resolv_wrapper = callPackage ../development/libraries/resolv_wrapper { };
rhino = callPackage ../development/libraries/java/rhino {