2018-11-08 21:59:17 +00:00
|
|
|
{ stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
|
2017-07-01 14:25:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "qbs";
|
2017-07-01 14:25:20 +00:00
|
|
|
|
2019-11-30 14:53:54 +00:00
|
|
|
version = "1.14.1";
|
2017-07-01 14:25:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-11-08 21:59:17 +00:00
|
|
|
owner = "qbs";
|
2017-07-01 14:25:20 +00:00
|
|
|
repo = "qbs";
|
2018-11-08 21:59:17 +00:00
|
|
|
rev = "v${version}";
|
2019-11-30 14:53:54 +00:00
|
|
|
sha256 = "0rqfnclhzln6v4gm68fn4vn6ncf5qpi90295fwm4fx6dq4l94b3v";
|
2017-07-01 14:25:20 +00:00
|
|
|
};
|
|
|
|
|
2018-11-08 21:59:17 +00:00
|
|
|
nativeBuildInputs = [ qmake ];
|
2017-07-01 14:25:20 +00:00
|
|
|
|
2018-11-08 21:59:17 +00:00
|
|
|
qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ];
|
2017-07-01 14:25:20 +00:00
|
|
|
|
2018-11-08 21:59:17 +00:00
|
|
|
buildInputs = [ qtbase qtscript ];
|
2017-07-01 14:25:20 +00:00
|
|
|
|
2018-11-08 21:59:17 +00:00
|
|
|
enableParallelBuilding = true;
|
2017-07-01 14:25:20 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A tool that helps simplify the build process for developing projects across multiple platforms";
|
2019-06-04 15:02:45 +00:00
|
|
|
homepage = "https://wiki.qt.io/Qbs";
|
2018-11-08 21:59:17 +00:00
|
|
|
license = licenses.lgpl3;
|
2017-07-01 14:25:20 +00:00
|
|
|
maintainers = with maintainers; [ expipiplus1 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|