nixpkgs/pkgs/development/python-modules/fonttools/default.nix
2018-04-08 11:34:54 +02:00

38 lines
611 B
Nix

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