2009-09-24 23:28:27 +02:00
|
|
|
{stdenv, fetchurl, libftdi}:
|
2009-09-20 18:43:16 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-12-08 20:31:04 +01:00
|
|
|
name = "openocd-0.3.1";
|
2009-09-20 18:43:16 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-12-08 20:31:04 +01:00
|
|
|
url = "http://download.berlios.de/openocd/openocd-0.3.1.tar.bz2";
|
|
|
|
sha256 = "1ww66gj4mn3ih4k0b2w21795gfl6g53nm41irii9n7bbjn2dmgrp";
|
2009-09-20 18:43:16 +02:00
|
|
|
};
|
|
|
|
|
2009-09-24 23:28:27 +02:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-ft2232_libftdi" "--disable-werror" ];
|
|
|
|
|
|
|
|
buildInputs = [ libftdi ];
|
|
|
|
|
2009-09-20 18:43:16 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://openocd.berlios.de;
|
|
|
|
description = "Open On Chip Debugger";
|
|
|
|
license = "GPLv2";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|