2012-11-27 12:54:44 +00:00
|
|
|
{ stdenv, fetchurl, qt4_for_qtcreator }:
|
2012-10-16 16:30:56 +01:00
|
|
|
|
|
|
|
let
|
2012-11-26 12:06:41 +00:00
|
|
|
version = "2.6.0";
|
2012-10-16 16:30:56 +01:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "qtcreator-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://origin.releases.qt-project.org/qtcreator/${version}/qt-creator-${version}-src.tar.gz";
|
2012-11-26 12:06:41 +00:00
|
|
|
md5 = "9bf01098f84a0fe930b2718d11124204";
|
2012-10-16 16:30:56 +01:00
|
|
|
};
|
|
|
|
|
2012-11-27 12:54:44 +00:00
|
|
|
buildInputs = [ qt4_for_qtcreator ];
|
2012-10-16 16:30:56 +01: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 16:30:56 +01: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;
|
|
|
|
};
|
|
|
|
}
|