anchor.diff:  { lib
  -, fetchPypi
  +, fetchFromGitHub
  +, fetchpatch
   , rPackages
   , rWrapper
   , buildPythonPackage
  
positive.code: , pillow
  , pomegranate
  , pyfaidx
  }:
  
  buildPythonPackage rec {
    pname = "CNVkit";
    version = "0.9.7";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "d68adc0121e17c61a3aa28c0a9ba6526510a5a0df0f0a6eb1818bab71b7e927a";
    };
  
    propagatedBuildInputs = [
      biopython
  
negative.code:       --replace "pandas >= 0.20.1, < 0.25.0" "pandas"
    '';
  
    checkInputs = [ R ];
  
    checkPhase = ''
      pushd test/
      ${python.interpreter} test_io.py
      ${python.interpreter} test_genome.py
      ${python.interpreter} test_cnvlib.py
      ${python.interpreter} test_commands.py
      ${python.interpreter} test_r.py
    '';
  
    meta = with lib; {
      homepage = "https://cnvkit.readthedocs.io";
  