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

33 lines
875 B
Nix
Raw Normal View History

2017-05-17 20:26:11 +01:00
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }:
2016-07-19 04:44:46 +01:00
2017-10-24 12:46:29 +01:00
let inherit (stdenv.lib) getDev; in
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
};
2017-06-02 16:40:19 +01:00
propagatedBuildInputs = [ qtbase qtsvg qttools ];
nativeBuildInputs = [ qmake ];
2016-07-19 04:44:46 +01:00
2017-05-26 13:23:47 +01:00
buildInputs = [ qtbase qtsvg ];
2017-10-24 12:46:29 +01:00
qmakeFlags = [ ''LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease'' ];
2016-07-19 04:44:46 +01:00
preConfigure = ''
qmakeFlags="$qmakeFlags PLUGINDIR=$out/$qtPluginPrefix"
2016-07-19 04:44:46 +01:00
'';
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 ];
};
}