librepcb: fix use of wrapQtApp (#114891)

authored by Eduardo Sánchez Muñoz and committed by GitHub b1718d87 66cee0f3

+5 -10
+5 -10
pkgs/applications/science/electronics/librepcb/default.nix
··· 18 18 buildInputs = [ qtbase ]; 19 19 20 20 qmakeFlags = ["-r"]; 21 - enableParallelBuilding = true; 22 - 23 - postInstall = '' 24 - mkdir -p $out/share/librepcb/fontobene 25 - cp share/librepcb/fontobene/newstroke.bene $out/share/librepcb/fontobene/ 26 - ''; 27 21 28 22 # the build system tries to use 'git' at build time to find the HEAD hash. 29 23 # that's a no-no, so replace it with a quick hack. NOTE: the # adds a comment 30 24 # at the end of the line to remove the git call. 31 - patchPhase = '' 25 + postPatch = '' 32 26 substituteInPlace ./libs/librepcb/common/common.pro \ 33 27 --replace 'GIT_COMMIT_SHA' 'GIT_COMMIT_SHA="\\\"${src.rev}\\\"" # ' 34 28 ''; 35 29 36 - preFixup = '' 37 - wrapQtApp $out/bin/librepcb 30 + postInstall = '' 31 + mkdir -p $out/share/librepcb/fontobene 32 + cp share/librepcb/fontobene/newstroke.bene $out/share/librepcb/fontobene/ 38 33 ''; 39 34 40 35 meta = with lib; { 41 36 description = "A free EDA software to develop printed circuit boards"; 42 37 homepage = "https://librepcb.org/"; 43 38 maintainers = with maintainers; [ luz thoughtpolice ]; 44 - license = licenses.gpl3; 39 + license = licenses.gpl3Plus; 45 40 platforms = platforms.linux; 46 41 }; 47 42 }