nixpkgs/pkgs/tools/misc/qt5ct/default.nix

32 lines
811 B
Nix
Raw Normal View History

2017-05-26 14:23:47 +02:00
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmakeHook, makeQtWrapper }:
2016-07-19 05:44:46 +02:00
stdenv.mkDerivation rec {
name = "qt5ct-${version}";
2017-06-08 20:07:12 +02:00
version = "0.33";
2016-07-19 05:44:46 +02:00
src = fetchurl {
url = "mirror://sourceforge/qt5ct/qt5ct-${version}.tar.bz2";
2017-06-08 20:07:12 +02:00
sha256 = "0by0wz40rl9gxvwbd85j0y5xy9mjab1cya96rv48x677v95lhm9f";
2016-07-19 05:44:46 +02:00
};
nativeBuildInputs = [ makeQtWrapper qmakeHook qttools ];
2017-05-26 14:23:47 +02:00
buildInputs = [ qtbase qtsvg ];
2016-07-19 05:44:46 +02:00
preConfigure = ''
2017-03-24 15:11:33 +01:00
qmakeFlags="$qmakeFlags PLUGINDIR=$out/lib/qt5/plugins"
2016-07-19 05:44:46 +02: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 ];
};
}