2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, automake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-08-23 08:02:39 +00:00
|
|
|
pname = "avra";
|
|
|
|
version = "1.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-23 08:02:39 +00:00
|
|
|
url = "mirror://sourceforge/avra/avra-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "04lp0k0h540l5pmnaai07637f0p4zi766v6sfm7cryfaca3byb56";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ autoconf automake ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd src/
|
|
|
|
|
|
|
|
aclocal
|
|
|
|
autoconf
|
|
|
|
|
|
|
|
touch NEWS README AUTHORS ChangeLog
|
|
|
|
automake -a
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Assembler for the Atmel AVR microcontroller family";
|
|
|
|
homepage = "http://avra.sourceforge.net/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|