3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/qt5ct/default.nix

32 lines
811 B
Nix
Raw Normal View History

2017-05-26 13:23:47 +01:00
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmakeHook, makeQtWrapper }:
2016-07-19 04:44:46 +01:00
stdenv.mkDerivation rec {
name = "qt5ct-${version}";
2017-06-08 19:07:12 +01:00
version = "0.33";
2016-07-19 04:44:46 +01:00
src = fetchurl {
url = "mirror://sourceforge/qt5ct/qt5ct-${version}.tar.bz2";
2017-06-08 19:07:12 +01:00
sha256 = "0by0wz40rl9gxvwbd85j0y5xy9mjab1cya96rv48x677v95lhm9f";
2016-07-19 04:44:46 +01:00
};
nativeBuildInputs = [ makeQtWrapper qmakeHook qttools ];
2017-05-26 13:23:47 +01:00
buildInputs = [ qtbase qtsvg ];
2016-07-19 04:44:46 +01:00
preConfigure = ''
2017-03-24 14:11:33 +00:00
qmakeFlags="$qmakeFlags PLUGINDIR=$out/lib/qt5/plugins"
2016-07-19 04:44:46 +01:00
'';
preFixup = ''
wrapQtProgram $out/bin/qt5ct
'';
meta = with stdenv.lib; {
description = "Qt5 Configuration Tool";
homepage = https://www.opendesktop.org/content/show.php?content=168066;
platforms = platforms.linux;
license = licenses.bsd2;
maintainers = with maintainers; [ ralith ];
};
}