mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
33 lines
830 B
Nix
33 lines
830 B
Nix
{ mkDerivation, lib, fetchurl, qtbase, qtsvg, qttools, qmake }:
|
|
|
|
let inherit (lib) getDev; in
|
|
|
|
mkDerivation rec {
|
|
pname = "qt5ct";
|
|
version = "0.41";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
|
sha256 = "1p2p6116wg5bc0hcbi2sygwlgk0g9idxpci0qdh3p4lb1plk0h7j";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
buildInputs = [ qtbase qtsvg ];
|
|
|
|
qmakeFlags = [
|
|
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
|
|
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|