1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 qmake,
6 qtbase,
7 qtscript,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "qbs";
12
13 version = "1.24.1";
14
15 src = fetchFromGitHub {
16 owner = "qbs";
17 repo = "qbs";
18 rev = "v${version}";
19 sha256 = "sha256-nL7UZh29Oecu3RvXYg5xsin2IvPWpApleLH37sEdSAI=";
20 };
21
22 nativeBuildInputs = [ qmake ];
23
24 dontWrapQtApps = true;
25
26 qmakeFlags = [
27 "QBS_INSTALL_PREFIX=$(out)"
28 "qbs.pro"
29 ];
30
31 buildInputs = [
32 qtbase
33 qtscript
34 ];
35
36 meta = with lib; {
37 description = "Tool that helps simplify the build process for developing projects across multiple platforms";
38 homepage = "https://wiki.qt.io/Qbs";
39 license = licenses.lgpl3;
40 maintainers = [ ];
41 platforms = platforms.linux;
42 };
43}