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

36 lines
844 B
Nix
Raw Normal View History

2017-05-17 21:26:11 +02:00
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }:
2016-07-19 05:44:46 +02:00
2017-10-24 13:46:29 +02:00
let inherit (stdenv.lib) getDev; in
2016-07-19 05:44:46 +02:00
stdenv.mkDerivation rec {
name = "qt5ct-${version}";
2017-11-26 23:30:21 +01:00
version = "0.34";
2016-07-19 05:44:46 +02:00
src = fetchurl {
2017-11-26 23:30:21 +01:00
url = "mirror://sourceforge/qt5ct/${name}.tar.bz2";
sha256 = "0aqbilz7acx077zg5rwf2909xabw16047yjdn9nx2gmhp31y00pl";
2016-07-19 05:44:46 +02:00
};
2017-11-26 23:30:21 +01:00
nativeBuildInputs = [ qmake qttools ];
2016-07-19 05:44:46 +02:00
2017-11-26 23:30:21 +01:00
buildInputs = [ qtbase ];
2017-05-26 14:23:47 +02:00
2017-11-26 23:30:21 +01:00
qmakeFlags = [
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
];
2017-10-24 13:46:29 +02:00
2016-07-19 05:44:46 +02:00
preConfigure = ''
2017-11-26 23:30:21 +01:00
qmakeFlags+=" PLUGINDIR=$out/$qtPluginPrefix"
2016-07-19 05:44:46 +02:00
'';
2017-11-26 23:30:21 +01:00
enableParallelBuilding = true;
2016-07-19 05:44:46 +02: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 ];
};
}