1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/build-managers/qbs/default.nix

30 lines
727 B
Nix
Raw Normal View History

2018-11-08 21:59:17 +00:00
{ stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
2017-07-01 15:25:20 +01:00
stdenv.mkDerivation rec {
name = "qbs-${version}";
version = "1.12.2";
2017-07-01 15:25:20 +01:00
src = fetchFromGitHub {
2018-11-08 21:59:17 +00:00
owner = "qbs";
2017-07-01 15:25:20 +01:00
repo = "qbs";
2018-11-08 21:59:17 +00:00
rev = "v${version}";
sha256 = "0spkkq7nmh27rbx61p23fzkxffx3qdhjqw95pqgsbc76xczd45sv";
2017-07-01 15:25:20 +01:00
};
2018-11-08 21:59:17 +00:00
nativeBuildInputs = [ qmake ];
2017-07-01 15:25:20 +01:00
2018-11-08 21:59:17 +00:00
qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ];
2017-07-01 15:25:20 +01:00
2018-11-08 21:59:17 +00:00
buildInputs = [ qtbase qtscript ];
2017-07-01 15:25:20 +01:00
2018-11-08 21:59:17 +00:00
enableParallelBuilding = true;
2017-07-01 15:25:20 +01:00
meta = with stdenv.lib; {
description = "A tool that helps simplify the build process for developing projects across multiple platforms";
2018-11-08 21:59:17 +00:00
license = licenses.lgpl3;
2017-07-01 15:25:20 +01:00
maintainers = with maintainers; [ expipiplus1 ];
platforms = platforms.linux;
};
}