1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

qbs: init at 1.8

This commit is contained in:
Joe Hermaszewski 2017-07-01 15:25:20 +01:00
parent b6f88093a2
commit 6fd51f96fe
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ stdenv, qt5, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "qbs-${version}";
version = "1.8";
src = fetchFromGitHub {
owner = "qt-labs";
repo = "qbs";
rev = "fa9c21d6908e0dad805113f570ac883c1dc5067a";
sha256 = "1manriz75rav1vldkk829yk1la9md4m872l5ykl9m982i9801d9g";
};
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;
maintainers = with maintainers; [ expipiplus1 ];
inherit version;
platforms = platforms.linux;
};
}

View file

@ -9430,6 +9430,8 @@ with pkgs;
re2 = callPackage ../development/libraries/re2 { };
qbs = callPackage ../development/tools/build-managers/qbs { };
qca2 = callPackage ../development/libraries/qca2 { qt = qt4; };
qca2-qt5 = callPackage ../development/libraries/qca2 { qt = qt5.qtbase; };