anchor.diff:      udev
     ];
   
  -  prePatch = ''
  -    sed -i "s!/lib/udev!$out/lib/udev!" udev/CMakeLists.txt
  -    sed -i "/if ( PKGCONFIG_UDEV_FOUND )/,/endif ( PKGCONFIG_UDEV_FOUND )/d" udev/CMakeLists.txt
  +  postPatch = ''
  +    sed -i udev/CMakeLists.txt \
  +      -e "s!/lib/udev!$out/lib/udev!" \
  +      -e "/if ( PKGCONFIG_UDEV_FOUND )/,/endif ( PKGCONFIG_UDEV_FOUND )/d"
     '';
   
  -  meta = {
  -    homepage = http://dev.zuckschwerdt.org/openobex/;
  -    description = "An open source implementation of the Object Exchange (OBEX) protocol";
  -    platforms = stdenv.lib.platforms.linux;
  +  meta = with stdenv.lib; {
  +    description = "OBEX protocol used for transferring data to mobile devices";
  +    homepage = http://sourceforge.net/projects/openobex/;
  +    license = with licenses; [
  +      gpl2
  +      lgpl21
  +    ];
  +    maintainers = with maintainers; [ ];
  +    platforms = [
  +      "i686-linux"
  +      "x86_64-linux"
  +    ];
     };
   }
  
positive.code: 
  stdenv.mkDerivation rec {
    name = "openobex-1.7.1";
     
    src = fetchurl {
      url = "mirror://sourceforge/openobex/${name}-Source.tar.gz";
      sha256 = "0mza0mrdrbcw4yix6qvl31kqy7bdkgxjycr0yx7yl089v5jlc9iv";
  
negative.code: { stdenv
  , cmake
  , fetchurl
  , ninja
  
  , bluez
  , libusb
  , udev
  