9 stdenv.mkDerivation (finalAttrs: {
13 tag_version = builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version;
15 url = "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-${finalAttrs.tag_version}-release/avr-libc-${finalAttrs.version}.tar.bz2";
16 hash = "sha256-AGpjBsu8k4w721g6xU+T/n18jPl/nN6R+RxvsCc6tGU=";
24 # Make sure we don't strip the libraries in lib/gcc/avr.
25 stripDebugList = [ "bin" ];
28 enableParallelBuilding = true;
31 incdir = "/avr/include";
35 description = "C runtime library for AVR microcontrollers";
36 homepage = "https://github.com/avrdudes/avr-libc";
37 changelog = "https://github.com/avrdudes/avr-libc/blob/avr-libc-${finalAttrs.tag_version}-release/NEWS";
38 license = licenses.bsd3;
39 platforms = [ "avr-none" ];
40 maintainers = with maintainers; [