diff options
author | Pascal Wittmann <PascalWittmann@gmx.net> | 2017-07-06 10:21:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-06 10:21:52 +0200 |
commit | bd3b58b1979194689b00dff0c0261521b87ef876 (patch) | |
tree | b4992574471dc53bf03d98a959a0744a4dddfb9f /pkgs/development | |
parent | 05aa2a58db2de248cc2ef516b21fa319ca72613e (diff) | |
parent | 6fd51f96fe99409d67a08a3eaad34108f6ab1b04 (diff) | |
download | nixlib-bd3b58b1979194689b00dff0c0261521b87ef876.tar nixlib-bd3b58b1979194689b00dff0c0261521b87ef876.tar.gz nixlib-bd3b58b1979194689b00dff0c0261521b87ef876.tar.bz2 nixlib-bd3b58b1979194689b00dff0c0261521b87ef876.tar.lz nixlib-bd3b58b1979194689b00dff0c0261521b87ef876.tar.xz nixlib-bd3b58b1979194689b00dff0c0261521b87ef876.tar.zst nixlib-bd3b58b1979194689b00dff0c0261521b87ef876.zip |
Merge pull request #27015 from expipiplus1/qbs
qbs: init at 1.8
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/build-managers/qbs/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/qbs/default.nix b/pkgs/development/tools/build-managers/qbs/default.nix new file mode 100644 index 000000000000..dc2d545a7654 --- /dev/null +++ b/pkgs/development/tools/build-managers/qbs/default.nix @@ -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; + }; +} |