···18 buildInputs = [ qtbase ];
1920 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- '';
2728 # 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 '';
3536- preFixup = ''
37- wrapQtApp $out/bin/librepcb
038 '';
3940 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 ];
1920 qmakeFlags = ["-r"];
0000002122 # 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 '';
2930+ postInstall = ''
31+ mkdir -p $out/share/librepcb/fontobene
32+ cp share/librepcb/fontobene/newstroke.bene $out/share/librepcb/fontobene/
33 '';
3435 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}