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

31 lines
796 B
Nix
Raw Normal View History

2019-10-01 06:15:53 +01:00
{ mkDerivation, lib, fetchurl, qtbase, qtsvg, qttools, qmake }:
2016-07-19 04:44:46 +01:00
2019-07-29 06:04:36 +01:00
let inherit (lib) getDev; in
2017-10-24 12:46:29 +01:00
2019-07-29 06:04:36 +01:00
mkDerivation rec {
pname = "qt5ct";
2021-09-14 13:25:03 +01:00
version = "1.3";
2016-07-19 04:44:46 +01:00
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
2021-09-14 13:25:03 +01:00
sha256 = "sha256-3UQ7FOWQr/dqFuExbVbmiIguMkjEcN9PcbyVJWnzw7w=";
2016-07-19 04:44:46 +01:00
};
2017-11-26 22:30:21 +00:00
nativeBuildInputs = [ qmake qttools ];
2016-07-19 04:44:46 +01:00
2019-10-01 06:15:53 +01:00
buildInputs = [ qtbase qtsvg ];
2017-05-26 13:23:47 +01:00
2017-11-26 22:30:21 +00:00
qmakeFlags = [
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
2019-10-01 06:15:53 +01:00
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
2017-11-26 22:30:21 +00:00
];
2017-10-24 12:46:29 +01:00
2019-07-29 06:04:36 +01:00
meta = with lib; {
2016-07-19 04:44:46 +01:00
description = "Qt5 Configuration Tool";
homepage = "https://www.opendesktop.org/content/show.php?content=168066";
2016-07-19 04:44:46 +01:00
platforms = platforms.linux;
license = licenses.bsd2;
maintainers = with maintainers; [ ralith ];
};
}