ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
30 lines
756 B
Nix
30 lines
756 B
Nix
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qbs";
|
|
|
|
version = "1.17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "qbs";
|
|
repo = "qbs";
|
|
rev = "v${version}";
|
|
sha256 = "0sd4qwl1wh8b1hck846plrgddkrdwdfqwk2dgh5hdsrlrvx5xjrr";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ];
|
|
|
|
buildInputs = [ qtbase qtscript ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
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;
|
|
};
|
|
}
|