nixpkgs/pkgs/development/misc/avr/libc/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

32 lines
817 B
Nix

{ lib, stdenv, fetchurl, automake, autoconf }:
stdenv.mkDerivation rec {
pname = "avr-libc";
version = "2.1.0";
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-${version}.tar.bz2";
sha256 = "1s2lnqsbr1zs7dvsbyyckay52lm8mbjjaqf3cyx5qpcbq3jwx10b";
};
nativeBuildInputs = [ automake autoconf ];
# Make sure we don't strip the libraries in lib/gcc/avr.
stripDebugList = [ "bin" ];
dontPatchELF = true;
enableParallelBuilding = true;
passthru = {
incdir = "/avr/include";
};
meta = with lib; {
description = "C runtime library for AVR microcontrollers";
homepage = "https://github.com/avrdudes/avr-libc";
license = licenses.bsd3;
platforms = [ "avr-none" ];
maintainers = with maintainers; [ mguentner emilytrau ];
};
}