anchor.diff:  
       # Put it into buildInputs so that CMake can find it, even though we patch
       # it into the interface later.
  -    python2Packages.weboob
  +    python3Packages.weboob
     ];
   
  -  weboobPythonPath = [ python2Packages.weboob ];
  +  weboobPythonPath = [ python3Packages.weboob ];
   
     postInstall = ''
       buildPythonPath "$weboobPythonPath"
  
positive.code: # Needed for running tests:
  , qtbase, xvfb_run
  
  # For weboob, which only supports Python 2.x:
  , python2Packages
  }:
  
  stdenv.mkDerivation rec {
    pname = "kmymoney";
    version = "5.0.5";
  
    src = fetchurl {
      url = "mirror://kde/stable/kmymoney/${version}/src/${pname}-${version}.tar.xz";
      sha256 = "1hghs4676kn2giwpwz1y7p6djpmi41x64idf3ybiz8ky14a5s977";
    };
  
    # Hidden dependency that wasn't included in CMakeLists.txt:
  
negative.code:     homepage = https://kmymoney.org/;
      platforms = lib.platforms.linux;
      license = lib.licenses.gpl2Plus;
    };
  }
  