anchor.diff:      "$out/bin/poetry" completions fish > "$out/share/fish/vendor_completions.d/poetry.fish"
     '';
   
  -  checkInputs = [ pytestCheckHook httpretty pytest-mock pygments pytestcov ];
  +  checkInputs = [ pytestCheckHook httpretty pytest-mock pytestcov ];
     preCheck = "export HOME=$TMPDIR";
     disabledTests = [
       # touches network
  
positive.code:     owner = "python-poetry";
      repo = pname;
      rev = version;
      sha256 = "00qfzjjs6clh93gfl1px3ma9km8qxl3f4z819nmyl58zc8ni3zyv";
    };
  
    postPatch = ''
      substituteInPlace pyproject.toml \
       --replace "pyrsistent = \"^0.14.2\"" "pyrsistent = \"^0.16.0\"" \
       --replace "requests-toolbelt = \"^0.8.0\"" "requests-toolbelt = \"^0.9.1\"" \
       --replace 'importlib-metadata = {version = "~1.1.3", python = "<3.8"}' \
         'importlib-metadata = {version = ">=1.3,<2", python = "<3.8"}' \
       --replace "tomlkit = \"^0.5.11\"" "tomlkit = \"<2\"" \
       --replace "cleo = \"^0.7.6\"" "cleo = \"^0.8.0\"" \
       --replace "version = \"^20.0.1\", python = \"^3.5\"" "version = \"^21.0.0\", python = \"^3.5\"" \
       --replace "clikit = \"^0.4.2\"" "clikit = \"^0.6.2\""
    '';
  
    nativeBuildInputs = [ intreehooks ];
  
negative.code: , httpretty
  , importlib-metadata
  , intreehooks
  , keyring
  , lockfile
  , pexpect
  , pkginfo
  , poetry-core
  , pytestCheckHook
  , pytestcov
  , pytest-mock
  