about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/openocd/default.nix
blob: 1e7cdeb39f4d77e6fe5fbdd756d61d12a8abf56d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, fetchurl, libftdi}:

stdenv.mkDerivation {
  name = "openocd-0.3.1";

  src = fetchurl {
    url = "http://download.berlios.de/openocd/openocd-0.3.1.tar.bz2";
    sha256 = "1ww66gj4mn3ih4k0b2w21795gfl6g53nm41irii9n7bbjn2dmgrp";
  };


  configureFlags = [ "--enable-ft2232_libftdi" "--disable-werror" ];

  buildInputs = [ libftdi ];

  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;
  };
}