anchor.diff:      "test_otf"
     ];
   
  +  passthru.tests = {
  +    fullTestsuite = psautohint.override { runAllTests = true; };
  +  };
  +
     meta = with lib; {
       description = "Script to normalize the XML and other data inside of a UFO";
       homepage = "https://github.com/adobe-type-tools/psautohint";
  
positive.code:     pytest-cov
      pytest-xdist
    ];
    disabledTests = [
      # Test that fails on pytest >= v6
      # https://github.com/adobe-type-tools/psautohint/issues/284#issuecomment-742800965
      "test_hashmap_old_version"
      # Slow tests, reduces test time from ~5 mins to ~30s
      "test_mmufo"
      "test_flex_ufo"
  
negative.code: , lxml, fs # for fonttools extras
  , setuptools-scm
  , pytestCheckHook, pytest-cov, pytest-xdist
  , runAllTests ? false, psautohint # for passthru.tests
  }:
  
  buildPythonPackage rec {
    pname = "psautohint";
    version = "2.4.0";
  
    disabled = pythonOlder "3.7";
  
    src = fetchFromGitHub {
      owner = "adobe-type-tools";
      repo = pname;
      rev = "v${version}";
      sha256 = "125nx7accvbk626qlfar90va1995kp9qfrz6a978q4kv2kk37xai";
      fetchSubmodules = true; # data dir for tests
    };
  
  