2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qbs";
|
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
version = "1.17.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qbs";
|
|
|
|
repo = "qbs";
|
|
|
|
rev = "v${version}";
|
2020-11-12 09:05:59 +00:00
|
|
|
sha256 = "0sd4qwl1wh8b1hck846plrgddkrdwdfqwk2dgh5hdsrlrvx5xjrr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
|
|
|
|
qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ];
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qtscript ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A tool that helps simplify the build process for developing projects across multiple platforms";
|
|
|
|
homepage = "https://wiki.qt.io/Qbs";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ expipiplus1 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|