nixpkgs-suyu/pkgs/development/python-modules/fonttools/default.nix

37 lines
599 B
Nix

{ buildPythonPackage
, fetchPypi
, numpy
, pytest
, pytestrunner
, glibcLocales
}:
buildPythonPackage rec {
pname = "fonttools";
version = "3.39.0";
src = fetchPypi {
inherit pname version;
sha256 = "0hgv83b4nhk2bl33xa41x0xvsl2b138p974ywkglzckp1123a7z2";
extension = "zip";
};
buildInputs = [
numpy
];
checkInputs = [
pytest
pytestrunner
glibcLocales
];
preCheck = ''
export LC_ALL="en_US.UTF-8"
'';
meta = {
homepage = https://github.com/fonttools/fonttools;
description = "A library to manipulate font files from Python";
};
}