2024-06-30 08:16:52 +00:00
|
|
|
{ lib, version }:
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
inherit (lib)
|
|
|
|
licenses
|
|
|
|
# maintainers
|
|
|
|
platforms
|
|
|
|
# teams
|
|
|
|
versionOlder
|
|
|
|
;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
homepage = "https://gcc.gnu.org/";
|
|
|
|
license = licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
|
|
|
description = "GNU Compiler Collection, version ${version}";
|
|
|
|
longDescription = ''
|
|
|
|
The GNU Compiler Collection includes compiler front ends for C, C++,
|
|
|
|
Objective-C, Fortran, OpenMP for C/C++/Fortran, and Ada, as well as
|
|
|
|
libraries for these languages (libstdc++, libgomp,...).
|
|
|
|
|
|
|
|
GCC development is a part of the GNU Project, aiming to improve the
|
|
|
|
compiler used in the GNU system including the GNU/Linux variant.
|
|
|
|
'';
|
|
|
|
|
|
|
|
platforms = platforms.unix;
|
|
|
|
# maintainers = if versionOlder version "5" then [ maintainers.veprbl ] else teams.gcc.members;
|
|
|
|
|
|
|
|
}
|