summary refs log tree commit diff
path: root/pkgs/development/compilers/avra/default.nix
blob: 88a34bd6fd6ee60803f1eee093e4da55afaf1341 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl, autoconf, automake }:
stdenv.mkDerivation rec {
  name = "avra-1.3.0";

  src = fetchurl {
    url = "mirror://sourceforge/avra/${name}.tar.bz2";
    sha256 = "04lp0k0h540l5pmnaai07637f0p4zi766v6sfm7cryfaca3byb56";
  };

  buildInputs = [ autoconf automake ];

  preConfigure = ''
    cd src/

    aclocal
    autoconf

    touch NEWS README AUTHORS ChangeLog
    automake -a
  '';

  meta = with stdenv.lib; {
    description = "Assembler for the Atmel AVR microcontroller family";
    homepage = http://avra.sourceforge.net/;
    license = licenses.gpl2Plus;
    platforms = platforms.all;
    maintainers = with maintainers; [ the-kenny ];
  };
}