mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
5ace59df0e
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 0.35 with grep in /nix/store/09w800gzw7r649858m96yq9vi4c7ap46-qt5ct-0.35 - found 0.35 in filename of file in /nix/store/09w800gzw7r649858m96yq9vi4c7ap46-qt5ct-0.35
36 lines
844 B
Nix
36 lines
844 B
Nix
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }:
|
|
|
|
let inherit (stdenv.lib) getDev; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "qt5ct-${version}";
|
|
version = "0.35";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/qt5ct/${name}.tar.bz2";
|
|
sha256 = "0xzgd12cvm4vyzl8qax6izdmaf46bf18h055z6k178s8pybm1sqw";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|