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