mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
30 lines
643 B
Nix
30 lines
643 B
Nix
{ lib, stdenv, fetchurl, autoconf, automake }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "avra";
|
|
version = "1.3.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/avra/avra-${version}.tar.bz2";
|
|
sha256 = "04lp0k0h540l5pmnaai07637f0p4zi766v6sfm7cryfaca3byb56";
|
|
};
|
|
|
|
buildInputs = [ autoconf automake ];
|
|
|
|
preConfigure = ''
|
|
cd src/
|
|
|
|
aclocal
|
|
autoconf
|
|
|
|
touch NEWS README AUTHORS ChangeLog
|
|
automake -a
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Assembler for the Atmel AVR microcontroller family";
|
|
homepage = "http://avra.sourceforge.net/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|