anchor.diff:      importlib-resources
     ];
   
  -  patches = [ ./dvc-daemon.patch ];
  -
  -  postPatch = ''
  -    substituteInPlace setup.cfg \
  -      --replace "grandalf==0.6" "grandalf>=0.6"
  -    substituteInPlace dvc/daemon.py \
  -      --subst-var-by dvc "$out/bin/dcv"
  -  '';
  -
     # Tests require access to real cloud services
     doCheck = false;
   
  
positive.code: 
  python3.pkgs.buildPythonApplication rec {
    pname = "dvc";
    version = "2.9.3";
    format = "setuptools";
  
    src = fetchFromGitHub {
      owner = "iterative";
      repo = pname;
      rev = version;
      hash = "sha256-nRlgo7Wjs7RgTUxoMYQh5YEsqiJtdWH2ex79rhXagAQ=";
    };
  
    nativeBuildInputs = with python3.pkgs; [
      setuptools-scm
  
negative.code: { lib
  , python3
  , fetchFromGitHub
  , fetchpatch
  , enableGoogle ? false
  , enableAWS ? false
  , enableAzure ? false
  