avrgcc: 5.4.0 -> 7.3.0

This commit is contained in:
Andrew Childs 2018-03-23 00:26:30 +09:00
parent 60a6c63155
commit 1e1f66f209

View File

@ -1,14 +1,14 @@
{ stdenv, fetchurl, gmp, mpfr, libmpc, zlib, avrbinutils, texinfo }: { stdenv, fetchurl, gmp, mpfr, libmpc, zlib, avrbinutils, texinfo }:
let let
version = "5.4.0"; version = "7.3.0";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "avr-gcc-${version}"; name = "avr-gcc-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.bz2"; url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
sha256 = "0fihlcy5hnksdxk0sn6bvgnyq8gfrgs8m794b1jxwd1dxinzg3b0"; sha256 = "0p71bij6bfhzyrs8676a8jmpjsfz392s2rg862sdnsk30jpacb43";
}; };
patches = [ patches = [
@ -54,7 +54,7 @@ stdenv.mkDerivation {
description = "GNU Compiler Collection, version ${version} for AVR microcontrollers"; description = "GNU Compiler Collection, version ${version} for AVR microcontrollers";
homepage = http://gcc.gnu.org; homepage = http://gcc.gnu.org;
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.linux; platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [ mguentner ]; maintainers = with maintainers; [ mguentner ];
}; };
} }