1{
2 lib,
3 version,
4 targetPrefix,
5}:
6
7let
8 inherit (lib)
9 licenses
10 maintainers
11 platforms
12 teams
13 versionOlder
14 ;
15in
16{
17 homepage = "https://gcc.gnu.org/";
18 license = licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
19 description = "GNU Compiler Collection, version ${version}";
20 longDescription = ''
21 The GNU Compiler Collection includes compiler front ends for C, C++,
22 Objective-C, Fortran, OpenMP for C/C++/Fortran, and Ada, as well as
23 libraries for these languages (libstdc++, libgomp,...).
24
25 GCC development is a part of the GNU Project, aiming to improve the
26 compiler used in the GNU system including the GNU/Linux variant.
27 '';
28
29 platforms = platforms.unix;
30 teams = [ teams.gcc ];
31 mainProgram = "${targetPrefix}gcc";
32
33 identifiers.cpeParts.vendor = "gnu";
34}