anchor.diff:    ];
   
     postPatch = ''
  +    substituteInPlace setup.cfg \
  +      --replace "grandalf==0.6" "grandalf" \
  +      --replace "scmrepo==0.0.25" "scmrepo" \
  +      --replace "dvc-data==0.0.16" "dvc-data" \
  +      --replace "dvc-render==0.0.6" "dvc-render"
       substituteInPlace dvc/daemon.py \
         --subst-var-by dvc "$out/bin/dcv"
     '';
  
positive.code:     distro
      dpath
      dvclive
      dvc-render
      flatten-dict
      flufl_lock
  
negative.code: , enableSSH ? false
  }:
  
  python3.pkgs.buildPythonApplication rec {
    pname = "dvc";
    version = "2.12.0";
    format = "setuptools";
  
    src = fetchFromGitHub {
      owner = "iterative";
      repo = pname;
      rev = version;
      hash = "sha256-d1Tjqomr8Lcf+X+LZgi0wHlxXBUqHq/nAzDBbrxHAl4=";
    };
  
    nativeBuildInputs = with python3.pkgs; [
      setuptools-scm
      setuptools-scm-git-archive
    ];
  
    propagatedBuildInputs = with python3.pkgs; [
      aiohttp-retry
      appdirs
      colorama
  