mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
qtcreator: 4.1.0 -> 4.2.0
This commit is contained in:
parent
614ae8f660
commit
9d03fe2dfb
2 changed files with 8 additions and 6 deletions
|
@ -6,17 +6,17 @@
|
|||
with stdenv.lib;
|
||||
|
||||
let
|
||||
baseVersion = "4.1";
|
||||
baseVersion = "4.2";
|
||||
revision = "0";
|
||||
version = "${baseVersion}.${revision}";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qtcreator-${version}";
|
||||
version = "${baseVersion}.${revision}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.qt-project.org/official_releases/qtcreator/${baseVersion}/${version}/qt-creator-opensource-src-${version}.tar.gz";
|
||||
sha256 = "00xlzw01ngza54ssmwz2ryahjlrbniy2q3p174xri1pxvcih4b21";
|
||||
sha256 = "0yzj1i6hkzl9w1g8d5vidz7z6amwpj8p3cfibn9slf1sphxph18f";
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase qtscript qtquickcontrols qtdeclarative ];
|
||||
|
@ -31,6 +31,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installFlags = [ "INSTALL_ROOT=$(out)" ] ++ optional withDocumentation "install_docs";
|
||||
|
||||
preBuild = optional withDocumentation ''
|
||||
ln -s ${qtbase}/share/doc $NIX_QT5_TMP/share
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# Install desktop file
|
||||
mkdir -p "$out/share/applications"
|
||||
|
|
|
@ -6455,9 +6455,7 @@ in
|
|||
|
||||
premake = premake4;
|
||||
|
||||
qtcreator = qt5.callPackage ../development/qtcreator {
|
||||
withDocumentation = false; # 'true' is currently broken with qt>=5.5
|
||||
};
|
||||
qtcreator = qt5.callPackage ../development/qtcreator { };
|
||||
|
||||
r10k = callPackage ../tools/system/r10k { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue