2013-05-31 22:05:29 +00:00
|
|
|
{ stdenv, fetchurl, qt48 }:
|
2012-10-16 15:30:56 +00:00
|
|
|
|
|
|
|
let
|
2013-07-15 09:15:34 +00:00
|
|
|
baseVersion = "2.8";
|
2013-09-30 13:00:41 +00:00
|
|
|
revision = "1";
|
2013-05-31 22:05:29 +00:00
|
|
|
version = "${baseVersion}.${revision}";
|
|
|
|
qt4_for_qtcreator = qt48.override {
|
|
|
|
developerBuild = true;
|
|
|
|
};
|
2012-10-16 15:30:56 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "qtcreator-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-05-31 22:05:29 +00:00
|
|
|
url = "http://download.qt-project.org/official_releases/qtcreator/${baseVersion}/${version}/qt-creator-${version}-src.tar.gz";
|
2013-09-30 13:00:41 +00:00
|
|
|
sha256 = "d5ae007a297a4288d0e95fd605edbfb8aee80f6788c7a6cfb9cb297f50c364b9";
|
2012-10-16 15:30:56 +00:00
|
|
|
};
|
|
|
|
|
2012-11-27 12:54:44 +00:00
|
|
|
buildInputs = [ qt4_for_qtcreator ];
|
2012-10-16 15:30:56 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2012-11-27 12:54:44 +00:00
|
|
|
preConfigure = ''
|
|
|
|
qmake -spec linux-g++ "QT_PRIVATE_HEADERS=${qt4_for_qtcreator}/include" qtcreator.pro
|
|
|
|
'';
|
|
|
|
|
2012-10-16 15:30:56 +00:00
|
|
|
installFlags = "INSTALL_ROOT=$(out)";
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Cross-platform IDE tailored to the needs of Qt developers";
|
2012-10-16 15:30:56 +00:00
|
|
|
longDescription = ''
|
2013-10-06 09:49:53 +00:00
|
|
|
Qt Creator is a cross-platform IDE (integrated development environment)
|
|
|
|
tailored to the needs of Qt developers. It includes features such as an
|
|
|
|
advanced code editor, a visual debugger and a GUI designer.
|
|
|
|
'';
|
2012-10-16 15:30:56 +00:00
|
|
|
homepage = "http://qt-project.org/wiki/Category:Tools::QtCreator";
|
|
|
|
license = "LGPL";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|