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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
747 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
2017-07-01 14:25:20 +00:00
stdenv.mkDerivation rec {
pname = "qbs";
2017-07-01 14:25:20 +00:00
2022-08-16 21:34:44 +00:00
version = "1.23.1";
2017-07-01 14:25:20 +00:00
src = fetchFromGitHub {
2018-11-08 21:59:17 +00:00
owner = "qbs";
2017-07-01 14:25:20 +00:00
repo = "qbs";
2018-11-08 21:59:17 +00:00
rev = "v${version}";
2022-08-16 21:34:44 +00:00
sha256 = "sha256-ZAMWPvTzramhIuafYw+lV7Tm3fQKm+nbRdAFdjYDMhs=";
2017-07-01 14:25:20 +00:00
};
2018-11-08 21:59:17 +00:00
nativeBuildInputs = [ qmake ];
2017-07-01 14:25:20 +00:00
dontWrapQtApps = true;
2018-11-08 21:59:17 +00:00
qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ];
2017-07-01 14:25:20 +00:00
2018-11-08 21:59:17 +00:00
buildInputs = [ qtbase qtscript ];
2017-07-01 14:25:20 +00:00
meta = with lib; {
2017-07-01 14:25:20 +00:00
description = "A tool that helps simplify the build process for developing projects across multiple platforms";
homepage = "https://wiki.qt.io/Qbs";
2018-11-08 21:59:17 +00:00
license = licenses.lgpl3;
2017-07-01 14:25:20 +00:00
maintainers = with maintainers; [ expipiplus1 ];
platforms = platforms.linux;
};
}