diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-02-28 16:12:21 +0100 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-02-28 16:12:21 +0100 |
commit | 0f0a416d7f39261ab42386d458eb47181852853f (patch) | |
tree | fe53476be9e13450db521dcb78938545c10207a1 /pkgs/development/python-modules/afdko | |
parent | 77cd85e8ee0b1ab5f8b38768aae6c80a5198f9b9 (diff) |
pythonPackages.afdko: fix tests for fonttools >= 4.21.0
Missed this while testing the fonttools update because my machine couldn't handle the amount of master rebuilds at the time. fonttools changed something in its xml output which causes afdko tests to fail which diff against an expected output. We can simply pull in a patch from their development branch to fix this.
Diffstat (limited to 'pkgs/development/python-modules/afdko')
-rw-r--r-- | pkgs/development/python-modules/afdko/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/afdko/default.nix b/pkgs/development/python-modules/afdko/default.nix index 4df6c5f6c4931..f86151f2f51f3 100644 --- a/pkgs/development/python-modules/afdko/default.nix +++ b/pkgs/development/python-modules/afdko/default.nix @@ -17,14 +17,19 @@ buildPythonPackage rec { sha256 = "1qg7dgl81yq0sp50pkhgvmf8az1svx20zmpkfa68ka9d0ssh1wjw"; }; - # Skip date-dependent test. See - # https://github.com/adobe-type-tools/afdko/pull/1232 - # https://github.com/NixOS/nixpkgs/pull/98158#issuecomment-704321117 patches = [ + # Skip date-dependent test. See + # https://github.com/adobe-type-tools/afdko/pull/1232 + # https://github.com/NixOS/nixpkgs/pull/98158#issuecomment-704321117 (fetchpatch { url = "https://github.com/adobe-type-tools/afdko/commit/2c36ad10f9d964759f643e8ed7b0972a27aa26bd.patch"; sha256 = "0p6a485mmzrbfldfbhgfghsypfiad3cabcw7qlw2rh993ivpnibf"; }) + # fix tests for fonttools 4.21.1 + (fetchpatch { + url = "https://github.com/adobe-type-tools/afdko/commit/0919e7454a0a05a1b141c23bf8134c67e6b688fc.patch"; + sha256 = "0glly85swyl1kcc0mi8i0w4bm148bb001jz1winz5drfrw3a63jp"; + }) ]; nativeBuildInputs = [ setuptools_scm ]; |