1 { lib, stdenv, fetchurl, automake, autoconf }:
3 stdenv.mkDerivation rec {
8 url = "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-${version}.tar.bz2";
9 sha256 = "1s2lnqsbr1zs7dvsbyyckay52lm8mbjjaqf3cyx5qpcbq3jwx10b";
12 nativeBuildInputs = [ automake autoconf ];
14 # Make sure we don't strip the libraries in lib/gcc/avr.
15 stripDebugList = [ "bin" ];
19 incdir = "/avr/include";
23 description = "a C runtime library for AVR microcontrollers";
24 homepage = "https://github.com/avrdudes/avr-libc";
25 license = licenses.bsd3;
26 platforms = [ "avr-none" ];
27 maintainers = with maintainers; [ mguentner emilytrau ];