nixpkgs/pkgs/development/tools/build-managers/qbs/default.nix

31 lines
758 B
Nix

{ stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
stdenv.mkDerivation rec {
pname = "qbs";
version = "1.14.1";
src = fetchFromGitHub {
owner = "qbs";
repo = "qbs";
rev = "v${version}";
sha256 = "0rqfnclhzln6v4gm68fn4vn6ncf5qpi90295fwm4fx6dq4l94b3v";
};
nativeBuildInputs = [ qmake ];
qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ];
buildInputs = [ qtbase qtscript ];
enableParallelBuilding = true;
meta = with stdenv.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;
};
}