mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
parent
530b4bcadd
commit
4cd4f7a2c5
@ -1,41 +1,29 @@
|
||||
{ stdenv, qt5, fetchFromGitHub }:
|
||||
{ stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qbs-${version}";
|
||||
|
||||
version = "1.8";
|
||||
version = "1.12.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qt-labs";
|
||||
owner = "qbs";
|
||||
repo = "qbs";
|
||||
rev = "fa9c21d6908e0dad805113f570ac883c1dc5067a";
|
||||
sha256 = "1manriz75rav1vldkk829yk1la9md4m872l5ykl9m982i9801d9g";
|
||||
rev = "v${version}";
|
||||
sha256 = "14b7bz07yfrmbry57n3xh8w4nbapm6aknk45fgi7ljvsfzp85fzl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
|
||||
qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ];
|
||||
|
||||
buildInputs = [ qtbase qtscript ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = with qt5; [
|
||||
qtbase
|
||||
qtscript
|
||||
];
|
||||
|
||||
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||
|
||||
buildPhase = ''
|
||||
# From http://doc.qt.io/qbs/building.html
|
||||
qmake -r qbs.pro
|
||||
make
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mv $out/usr/local/* "$out"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool that helps simplify the build process for developing projects across multiple platforms";
|
||||
license = licenses.lgpl21;
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ expipiplus1 ];
|
||||
inherit version;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -11849,7 +11849,7 @@ with pkgs;
|
||||
|
||||
re2 = callPackage ../development/libraries/re2 { };
|
||||
|
||||
qbs = callPackage ../development/tools/build-managers/qbs { };
|
||||
qbs = libsForQt5.callPackage ../development/tools/build-managers/qbs { };
|
||||
|
||||
qca2 = callPackage ../development/libraries/qca2 { qt = qt4; };
|
||||
qca2-qt5 = qca2.override { qt = qt5.qtbase; };
|
||||
|
Loading…
Reference in New Issue
Block a user