nixpkgs/pkgs/development/python-modules/fonttools/default.nix
2019-02-17 14:40:21 +01:00

38 lines
611 B
Nix

{ buildPythonPackage
, fetchPypi
, numpy
, pytest
, pytestrunner
, glibcLocales
}:
buildPythonPackage rec {
pname = "fonttools";
version = "3.37.3";
src = fetchPypi {
inherit pname version;
sha256 = "c898a455a39afbe6707bc17a0e4f720ebe2087fec67683e7c86a13183078204d";
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";
};
}