2013-06-01 00:05:29 +02:00
|
|
|
{ stdenv, fetchurl, qt48 }:
|
2012-10-16 17:30:56 +02:00
|
|
|
|
|
|
|
let
|
2013-06-01 00:05:29 +02:00
|
|
|
baseVersion = "2.7";
|
|
|
|
revision = "1";
|
|
|
|
version = "${baseVersion}.${revision}";
|
|
|
|
qt4_for_qtcreator = qt48.override {
|
|
|
|
developerBuild = true;
|
|
|
|
};
|
2012-10-16 17:30:56 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "qtcreator-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-06-01 00:05:29 +02:00
|
|
|
url = "http://download.qt-project.org/official_releases/qtcreator/${baseVersion}/${version}/qt-creator-${version}-src.tar.gz";
|
|
|
|
sha256 = "04vn7y3dkk9vi1rsmsxby57mvc2h9n5q842hayq2mdlsax4qnhjv";
|
2012-10-16 17:30:56 +02:00
|
|
|
};
|
|
|
|
|
2012-11-27 13:54:44 +01:00
|
|
|
buildInputs = [ qt4_for_qtcreator ];
|
2012-10-16 17:30:56 +02:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2012-11-27 13:54:44 +01:00
|
|
|
preConfigure = ''
|
|
|
|
qmake -spec linux-g++ "QT_PRIVATE_HEADERS=${qt4_for_qtcreator}/include" qtcreator.pro
|
|
|
|
'';
|
|
|
|
|
2012-10-16 17:30:56 +02:00
|
|
|
installFlags = "INSTALL_ROOT=$(out)";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Qt Creator is a cross-platform IDE tailored to the needs of Qt developers.";
|
|
|
|
longDescription = ''
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
homepage = "http://qt-project.org/wiki/Category:Tools::QtCreator";
|
|
|
|
license = "LGPL";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|