2009-09-24 23:28:27 +02:00
|
|
|
{stdenv, fetchurl, libftdi}:
|
2009-09-20 18:43:16 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-04-17 12:15:47 +02:00
|
|
|
name = "openocd-0.4.0";
|
2009-09-20 18:43:16 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-04-17 12:15:47 +02:00
|
|
|
url = "http://download.berlios.de/openocd/openocd-0.4.0.tar.bz2";
|
|
|
|
sha256 = "1c9j8s3mqgw5spv6nd4lqfkd1l9jmjipi0ya054vnjfsy2617kzv";
|
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;
|
|
|
|
};
|
|
|
|
}
|