python3Packages.ttfautohint-py: 0.5.1 -> 0.6.0

jopejoe1 8d64b8c7 78580172

+4 -8
+4 -8
pkgs/development/python-modules/ttfautohint-py/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "ttfautohint-py"; 16 - version = "0.5.1"; 16 + version = "0.6.0"; 17 17 pyproject = true; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "fonttools"; 21 21 repo = "ttfautohint-py"; 22 22 tag = "v${version}"; 23 - hash = "sha256-NTog461RpyHKo/Qpicj3tflehaKj9LlZEN9qeCMM6JQ="; 23 + hash = "sha256-wA8su7HEQnDbCShrX9fiP/VKNMtMqeayHbQXHqy8iOA="; 24 24 }; 25 25 26 26 postPatch = '' 27 27 substituteInPlace src/python/ttfautohint/__init__.py \ 28 - --replace-fail 'find_library("ttfautohint")' '"${lib.getLib ttfautohint}/lib/libttfautohint${stdenv.hostPlatform.extensions.sharedLibrary}"' 29 - '' 30 - + lib.optionalString stdenv.hostPlatform.isLinux '' 31 - substituteInPlace src/python/ttfautohint/memory.py \ 32 - --replace-fail 'find_library("c")' '"${lib.getLib stdenv.cc.libc}/lib/libc.so.6"' 28 + --replace-fail '_exe_full_path = None' '_exe_full_path = "${lib.getExe ttfautohint}"' 33 29 ''; 34 30 35 31 env.TTFAUTOHINTPY_BUNDLE_DLL = false; ··· 56 52 meta = { 57 53 description = "Python wrapper for ttfautohint, a free auto-hinter for TrueType fonts"; 58 54 homepage = "https://github.com/fonttools/ttfautohint-py"; 59 - changelog = "https://github.com/fonttools/ttfautohint-py/releases/tag/v${version}"; 55 + changelog = "https://github.com/fonttools/ttfautohint-py/releases/tag/${src.tag}"; 60 56 license = lib.licenses.mit; 61 57 maintainers = with lib.maintainers; [ jopejoe1 ]; 62 58 };