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