anchor.diff:      # https://github.com/daltonmaag/statmake/pull/41
       substituteInPlace pyproject.toml \
         --replace 'requires = ["poetry>=1.0.0"]' 'requires = ["poetry-core"]' \
  -      --replace 'build-backend = "poetry.masonry.api"' 'build-backend = "poetry.core.masonry.api"'
  +      --replace 'build-backend = "poetry.masonry.api"' 'build-backend = "poetry.core.masonry.api"' \
  +      --replace 'cattrs = "^1.1"' 'cattrs = ">= 1.1"'
     '';
  +
  +  disabledTests = [
  +    # cattrs.errors.IterableValidationError: While structuring typing.List[statmake.classes.Axis]
  +    # https://github.com/daltonmaag/statmake/issues/42
  +    "test_load_stylespace_broken_range"
  +    "test_load_stylespace_broken_multilingual_no_en"
  +  ];
  +
  +  pythonImportsCheck = [
  +    "statmake"
  +  ];
   
     meta = with lib; {
       description = "Applies STAT information from a Stylespace to a variable font";
  
positive.code: { lib
  , buildPythonPackage
  , fetchFromGitHub
  , poetry-core
  , attrs
  , cattrs
  , fonttools
  , fs
  , pytestCheckHook
  , ufo2ft
  , ufoLib2
  }:
  
negative.code: buildPythonPackage rec {
    pname = "statmake";
    version = "0.4.1";
    format = "pyproject";
  
    disabled = pythonOlder "3.7";
  
    src = fetchFromGitHub {
      owner = "daltonmaag";
      repo = pname;
      rev = "v${version}";
      sha256 = "sha256-OXhoQAD4LEh80iRUZE2z8sCtWJDv/bSo0bwHbOOPVE0=";
    };
  
    nativeBuildInputs = [
  