diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-09-24 19:07:51 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-09-24 22:16:00 -0400 |
commit | 6793313708a5eae29c2cda532bd3d1598d73c7be (patch) | |
tree | 4cb7d6f7f880754a68f169895ecf5226253100e8 /pkgs/development/libraries/qgnomeplatform | |
parent | f37b39d279d111bfefbae1ba56cc97b535b93a06 (diff) | |
download | nixpkgs-6793313708a5eae29c2cda532bd3d1598d73c7be.tar nixpkgs-6793313708a5eae29c2cda532bd3d1598d73c7be.tar.gz nixpkgs-6793313708a5eae29c2cda532bd3d1598d73c7be.tar.bz2 nixpkgs-6793313708a5eae29c2cda532bd3d1598d73c7be.tar.lz nixpkgs-6793313708a5eae29c2cda532bd3d1598d73c7be.tar.xz nixpkgs-6793313708a5eae29c2cda532bd3d1598d73c7be.tar.zst nixpkgs-6793313708a5eae29c2cda532bd3d1598d73c7be.zip |
qgnomeplatform: init at 0.4
Diffstat (limited to 'pkgs/development/libraries/qgnomeplatform')
-rw-r--r-- | pkgs/development/libraries/qgnomeplatform/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qgnomeplatform/default.nix b/pkgs/development/libraries/qgnomeplatform/default.nix new file mode 100644 index 00000000000..3a3d3e0277c --- /dev/null +++ b/pkgs/development/libraries/qgnomeplatform/default.nix @@ -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; + }; +} |