bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
30 lines
747 B
Nix
30 lines
747 B
Nix
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qbs";
|
|
|
|
version = "1.22.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "qbs";
|
|
repo = "qbs";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-gFPcT/TNsKEUNzkJVaXHCGNmhQ0dV1/NYgQQInYrcNI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ];
|
|
|
|
buildInputs = [ qtbase qtscript ];
|
|
|
|
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;
|
|
};
|
|
}
|