From 62bbba81734f43ded19650910ce31778802564ff Mon Sep 17 00:00:00 2001 From: Sergey Mironov Date: Tue, 16 Jul 2013 14:13:47 +0400 Subject: [PATCH] AVaRICE: translates between GDB's remote debug protocol and the AVR JTAG ICE protocol --- .../tools/misc/avarice/default.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/tools/misc/avarice/default.nix diff --git a/pkgs/development/tools/misc/avarice/default.nix b/pkgs/development/tools/misc/avarice/default.nix new file mode 100644 index 000000000000..d15c0bc59a81 --- /dev/null +++ b/pkgs/development/tools/misc/avarice/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, pkgconfig, perl, libusb }: + +stdenv.mkDerivation rec { + + name="avarice-2.13"; + + src = fetchurl { + url = "mirror://sourceforge/avarice/${name}.tar.bz2"; + sha256 = "0jhh1h1k5b41v2ycq8kn43nkrkh0b9l7xjmw38rak871g3z3hix1"; + }; + + buildInputs = [ pkgconfig perl libusb ]; + + meta = { + license = stdenv.lib.licenses.gpl2; + description = "AVaRICE translates between GDB's remote debug protocol and the AVR JTAG ICE protocol"; + homepage = http://sourceforge.net/projects/avarice/files/avarice/; + maintainers = [ stdenv.lib.maintainers.smironov ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f942843eef04..059d57c39d74 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3281,6 +3281,8 @@ let avrdude = callPackage ../development/tools/misc/avrdude { }; + avarice = callPackage ../development/tools/misc/avarice { }; + bam = callPackage ../development/tools/build-managers/bam {}; binutils = callPackage ../development/tools/misc/binutils {