summary refs log blame commit diff
path: root/pkgs/development/tools/build-managers/qbs/default.nix
blob: d2d382f28d324d1fe8f1570b0a3d13671a9817b3 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                          

                         
                
 
                     

                         
                  
                 
                        
                                                                   

    
                                
 

                        
                                                         
 
                                    
 
                                
 
                    
                                                                                                                   
                                        
                             
                                                    


                                
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:

stdenv.mkDerivation rec {
  pname = "qbs";

  version = "1.19.1";

  src = fetchFromGitHub {
    owner = "qbs";
    repo = "qbs";
    rev = "v${version}";
    sha256 = "sha256-td+xXxpjty5jgorlVySG+8yUd9hujInXIlCfqCRUg9k=";
  };

  nativeBuildInputs = [ qmake ];

  dontWrapQtApps = true;

  qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ];

  buildInputs = [ qtbase qtscript ];

  enableParallelBuilding = true;

  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;
  };
}