anchor.diff:      ln -s "$rules" "$out/etc/udev/rules.d/"
     '';
   
  -  meta = with stdenv.lib; {
  +  meta = with lib; {
       description = "Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing";
       longDescription = ''
         OpenOCD provides on-chip programming and debugging support with a layered
  
positive.code:     homepage = http://openocd.sourceforge.net/;
      license = licenses.gpl2Plus;
      maintainers = with maintainers; [ bjornfor ];
      platforms = platforms.linux;
    };
  }
  
negative.code: { stdenv, lib, fetchurl, libftdi1, libusb1, pkgconfig, hidapi }:
  
  stdenv.mkDerivation rec {
    name = "openocd-${version}";
  