about summary refs log tree commit diff
path: root/pkgs/development/compilers/avra/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/avra/default.nix')
-rw-r--r--pkgs/development/compilers/avra/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/compilers/avra/default.nix b/pkgs/development/compilers/avra/default.nix
new file mode 100644
index 0000000000000..db9fafa42f101
--- /dev/null
+++ b/pkgs/development/compilers/avra/default.nix
@@ -0,0 +1,28 @@
+{ 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 = {
+    description = "Assember for the Atmel AVR microcontroller family";
+    homepage = http://avra.sourceforge.net/;
+    license = stdenv.lib.licenses.gpl2Plus;
+    maintainers = with stdenv.lib.maintainers; [ the-kenny ];
+  };
+}