2009-09-24 21:28:27 +00:00
|
|
|
{stdenv, fetchurl, libftdi}:
|
2009-09-20 16:43:16 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-12-08 19:31:04 +00:00
|
|
|
name = "openocd-0.3.1";
|
2009-09-20 16:43:16 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-12-08 19:31:04 +00:00
|
|
|
url = "http://download.berlios.de/openocd/openocd-0.3.1.tar.bz2";
|
|
|
|
sha256 = "1ww66gj4mn3ih4k0b2w21795gfl6g53nm41irii9n7bbjn2dmgrp";
|
2009-09-20 16:43:16 +00:00
|
|
|
};
|
|
|
|
|
2009-09-24 21:28:27 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-ft2232_libftdi" "--disable-werror" ];
|
|
|
|
|
|
|
|
buildInputs = [ libftdi ];
|
|
|
|
|
2009-09-20 16:43:16 +00: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;
|
|
|
|
};
|
|
|
|
}
|