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