anchor.diff: -{ stdenv, fetchurl, zlib, bzip2, openssl, attr, lzo, libgcrypt, e2fsprogs, gpgme, xz }:
  +{ stdenv, fetchurl
  +, attr, e2fsprogs
  +, curl, librsync, libthreadar
  +, gpgme, libgcrypt, openssl
  +, bzip2, lzo, xz, zlib
  +}:
   
   with stdenv.lib;
   
   stdenv.mkDerivation rec {
  -  version = "2.6.9";
  +  version = "2.6.10";
     pname = "dar";
   
     src = fetchurl {
       url = "mirror://sourceforge/dar/${pname}-${version}.tar.gz";
  -    sha256 = "1jzqq54w1dix2qdlj4hr9dpq9fnp23h102bk8d2gq6k7n2zgaj6v";
  +    sha256 = "1ryj4xxar18hshg38j1ljhplypgmfprwqn72k1jwxi28qravg80n";
     };
   
  -  buildInputs = [ zlib bzip2 openssl lzo libgcrypt gpgme xz ]
  -    ++ optionals stdenv.isLinux [ attr e2fsprogs ];
  +  outputs = [ "out" "dev" ];
  +
  +  buildInputs = [
  +    curl librsync libthreadar
  +    gpgme libgcrypt openssl
  +    bzip2 lzo xz zlib
  +  ] ++ optionals stdenv.isLinux [ attr e2fsprogs ];
   
     configureFlags = [
       "--disable-birthtime"
  
positive.code:   ];
  
    postInstall = ''
      rm -r "$out"/share/dar # Disable html help
    '';
  
    enableParallelBuilding = true;
  
negative.code:   meta = {
      homepage = "http://dar.linux.free.fr";
      description = "Disk ARchiver, allows backing up files into indexed archives";
      maintainers = with maintainers; [ izorkin ];
      license = licenses.gpl2;
      platforms = platforms.unix;
    };
  