nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, version, }:
2
3with lib; {
4 homepage = "https://gcc.gnu.org/";
5 license = licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
6 description = "GNU Compiler Collection, version ${version}";
7 longDescription = ''
8 The GNU Compiler Collection includes compiler front ends for C, C++,
9 Objective-C, Fortran, OpenMP for C/C++/Fortran, and Ada, as well as
10 libraries for these languages (libstdc++, libgomp,...).
11
12 GCC development is a part of the GNU Project, aiming to improve the
13 compiler used in the GNU system including the GNU/Linux variant.
14 '';
15
16 platforms = platforms.unix;
17 maintainers = if versionOlder version "5" then [ maintainers.veprbl ] else teams.gcc.members;
18
19}