nixpkgs-suyu/pkgs/tools/misc/qt5ct/default.nix
R. RyanTM e13de96cf5 qt5ct: 0.38 -> 0.39
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/qt5ct/versions
2019-05-13 21:53:20 +02:00

35 lines
842 B
Nix

{ stdenv, fetchurl, qtbase, qttools, qmake }:
let inherit (stdenv.lib) getDev; in
stdenv.mkDerivation rec {
pname = "qt5ct";
version = "0.39";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
sha256 = "069y6c17gfics8rz3rdsn2x2hb39m4qka08ygwpxa8gqppffqs9p";
};
nativeBuildInputs = [ qmake qttools ];
buildInputs = [ qtbase ];
qmakeFlags = [
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
];
preConfigure = ''
qmakeFlags+=" PLUGINDIR=$out/$qtPluginPrefix"
'';
enableParallelBuilding = true;
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 ];
};
}