anchor.diff: -{stdenv, fetchurl, fetchsvn, qt4, qca2, openssl, which}:
  +{stdenv, fetchurl, fetchgit, qt4, qca2, openssl, which}:
   
   stdenv.mkDerivation rec {
     version = "2.0.0-beta3";
  
positive.code:   configureFlags="--no-separate-debug-info --with-qca=${qca2}
      --with-openssl-inc=${openssl}/include --with-openssl-lib=${openssl}/lib";
    preConfigure=''
      cp ${svn_src}/qca-ossl.cpp .
  
      configureFlags="$configureFlags --plugins-path=$out/lib/qt4/plugins"
    '';
  
negative.code:   };
    # SVN version has stabilized and has a lot of fixes for fresh OpenSSL
    # Take the main source from there
    git_src = fetchgit {
      url = git://anongit.kde.org/qca;
      rev = "0a8b9db6613f2282fe492ff454412f502a6be410";
      sha256 =  "1ebb97092f21b9152c6dda56cb33795bea4e83c82800848e800ddaaaf23a31e1";
    };
    buildInputs = [ qt4 qca2 openssl ];
    nativeBuildInputs = [ which ];
  