2017-09-05 04:42:26 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
let
|
2018-08-09 04:19:08 +02:00
|
|
|
version = "2.31.1";
|
2017-09-05 04:42:26 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "avr-binutils-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/binutils/binutils-${version}.tar.bz2";
|
2018-08-09 04:19:08 +02:00
|
|
|
sha256 = "1l34hn1zkmhr1wcrgf0d4z7r3najxnw3cx2y2fk7v55zjlk3ik7z";
|
2017-09-05 04:42:26 +02:00
|
|
|
};
|
2018-07-25 23:44:21 +02:00
|
|
|
configureFlags = [ "--target=avr" "--enable-languages=c,c++" ];
|
2017-09-05 04:42:26 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "the GNU Binutils for AVR microcontrollers";
|
|
|
|
homepage = http://www.gnu.org/software/binutils/;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ mguentner ];
|
|
|
|
};
|
|
|
|
}
|