Loading pkgs/development/python-modules/ttfautohint-py/default.nix +13 −4 Original line number Diff line number Diff line Loading @@ -23,9 +23,14 @@ buildPythonPackage rec { hash = "sha256-NTog461RpyHKo/Qpicj3tflehaKj9LlZEN9qeCMM6JQ="; }; postPatch = '' postPatch = '' substituteInPlace src/python/ttfautohint/__init__.py \ --replace-fail 'find_library("ttfautohint")' '"${lib.getLib ttfautohint}/lib/libttfautohint${stdenv.hostPlatform.extensions.sharedLibrary}"' '' + lib.optionalString stdenv.hostPlatform.isLinux '' substituteInPlace src/python/ttfautohint/memory.py \ --replace-fail 'find_library("c")' '"${lib.getLib stdenv.cc.libc}/lib/libc.so.6"' ''; env.TTFAUTOHINTPY_BUNDLE_DLL = false; Loading @@ -36,6 +41,10 @@ buildPythonPackage rec { distutils ]; dependencies = [ setuptools # for pkg_resources ]; buildInputs = [ ttfautohint ]; nativeCheckInputs = [ Loading Loading
pkgs/development/python-modules/ttfautohint-py/default.nix +13 −4 Original line number Diff line number Diff line Loading @@ -23,9 +23,14 @@ buildPythonPackage rec { hash = "sha256-NTog461RpyHKo/Qpicj3tflehaKj9LlZEN9qeCMM6JQ="; }; postPatch = '' postPatch = '' substituteInPlace src/python/ttfautohint/__init__.py \ --replace-fail 'find_library("ttfautohint")' '"${lib.getLib ttfautohint}/lib/libttfautohint${stdenv.hostPlatform.extensions.sharedLibrary}"' '' + lib.optionalString stdenv.hostPlatform.isLinux '' substituteInPlace src/python/ttfautohint/memory.py \ --replace-fail 'find_library("c")' '"${lib.getLib stdenv.cc.libc}/lib/libc.so.6"' ''; env.TTFAUTOHINTPY_BUNDLE_DLL = false; Loading @@ -36,6 +41,10 @@ buildPythonPackage rec { distutils ]; dependencies = [ setuptools # for pkg_resources ]; buildInputs = [ ttfautohint ]; nativeCheckInputs = [ Loading