587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
28 lines
808 B
Nix
28 lines
808 B
Nix
{ lib, version, }:
|
|
|
|
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;
|
|
|
|
}
|