anchor.diff:      libjpeg
       libpng
       libtiff
  +    zlib
     ];
   
     patches = [
  
positive.code:     "--enable-contrast"
      "--disable-interp-none"
      "--disable-valgrind"
      (wtFlag "gtk" (gtk_2 != null) null)
      #(wtFlag "gimp" (gimp != null) null)
      "--without-gimp"
    ];
  
    meta = with stdenv.lib; {
      description = "Utility to read & manipulate raw images from digital cameras";
      homepage = http://ufraw.sourceforge.net/;
      license = licenses.gpl2Plus;
  
negative.code:       rev = "ea148bf1fddfb4909ef0fe3dd0c92ec7b2322877";
        file = "ufraw/ufraw-0.17-cfitsio-automagic.patch";
        sha256 = "d489abaa6da90a46f4b3b23e2e5400c1eeb7d2e5532835df4d5ad244167e7d18";
      })
      (fetchTritonPatch {
        rev = "6f754a20df9a80e4ba6221f841261604be6540c5";
        file = "u/ufraw/ufraw-0.22-jasper-automagic.patch";
        sha256 = "d8245cb9c45cc02686885aed1886243a06b028fc284cb5830e5b1f1f1e4d7db2";
      })
      (fetchTritonPatch {
        rev = "6f754a20df9a80e4ba6221f841261604be6540c5";
        file = "u/ufraw/ufraw-0.22-crashfix.patch";
        sha256 = "6beb9bd151924e38f7908d26019c72e66d06bf71a84cde8d7c80ccf8104e3bdb";
      })
      (fetchTritonPatch {
        rev = "6f754a20df9a80e4ba6221f841261604be6540c5";
        file = "u/ufraw/ufraw-0.22-drop_superfluous_abs.patch";
        sha256 = "8818808f8fd75fc6860783ffddbae42b5a2b7da937711cc6c2d482dee8f50702";
      })
    ];
  
  