anchor.diff:  with python.pkgs;
   buildPythonApplication rec {
     pname = "pdm";
  -  version = "1.12.6";
  +  version = "1.13.3";
     format = "pyproject";
     disabled = pythonOlder "3.7";
   
     src = fetchPypi {
       inherit pname version;
  -    sha256 = "sha256-MXKER2ijU+2yPnsBFH0cu/hjHI4uNt++AqggH5rhnaU=";
  +    sha256 = "sha256-5+bjjljmk3AHaDVjYzNuC7lkkvlpLa9/grKgdmERC7k=";
     };
   
     # this patch allows us to run additional tests that invoke pdm, which checks
  
positive.code:     "-m 'not network'"
    ];
  
    preCheck = "HOME=$TMPDIR";
  
    disabledTests = [
      # sys.executable and expected executable are different
      "test_set_non_exist_python_path"
      # pythonfinder isn't aware of nix's python infrastructure
      "test_auto_isolate_site_packages"
      "test_use_invalid_wrapper_python"
      "test_use_wrapper_python"
      # tries to read/write files without proper permissions
      "test_completion_command"
      "test_plugin_add"
      "test_plugin_list"
      "test_plugin_remove"
      # tries to treat a gzip file as a zipfile and fails
      "test_resolve_local_artifacts"
    ];
  
    meta = with lib; {
  
negative.code:   # doesn't appear to respect the settings in `$HOME`; possibly a bug upstream
    patches = [
      ./check-update.patch
    ];
  
    propagatedBuildInputs = [
      blinker
      click
      findpython
      installer
      packaging
      pdm-pep517
  