Commit b574d069 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.statmake: disable failing test

parent 9f7c1b94
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -50,18 +50,16 @@ buildPythonPackage rec {
    ufoLib2
  ];

  postPatch = ''
    # 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 'cattrs = "^1.1"' 'cattrs = ">= 1.1"'
  '';

  pythonImportsCheck = [
    "statmake"
  ];

  disabledTests = [
    # Test requires an update as later cattrs is present in Nixpkgs
    # https://github.com/daltonmaag/statmake/issues/42
    "test_load_stylespace_broken_range"
  ];

  meta = with lib; {
    description = "Applies STAT information from a Stylespace to a variable font";
    homepage = "https://github.com/daltonmaag/statmake";