depot/third_party/nixpkgs/pkgs/development/tools/build-managers/qbs/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

30 lines
747 B
Nix

{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
stdenv.mkDerivation rec {
pname = "qbs";
version = "1.23.0";
src = fetchFromGitHub {
owner = "qbs";
repo = "qbs";
rev = "v${version}";
sha256 = "sha256-F8dfSMim4OVGjBEGtIA4bGTNSLwZSwpHWI0J2e7pKCw=";
};
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;
};
}