2017-05-31 01:30:24 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, pytest
|
|
|
|
, pytestrunner
|
2018-03-02 02:21:19 +00:00
|
|
|
, glibcLocales
|
2017-05-31 01:30:24 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fonttools";
|
2018-12-14 22:04:21 +00:00
|
|
|
version = "3.33.0";
|
2017-05-31 01:30:24 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-14 22:04:21 +00:00
|
|
|
sha256 = "196yl6m3fycrbsclcmg550821j18ga6dpghmk5nb1xi4j4yb62gq";
|
2017-05-31 01:30:24 +00:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
pytestrunner
|
2018-03-02 02:20:25 +00:00
|
|
|
glibcLocales
|
2017-05-31 01:30:24 +00:00
|
|
|
];
|
|
|
|
|
2018-03-02 02:21:19 +00:00
|
|
|
preCheck = ''
|
|
|
|
export LC_ALL="en_US.UTF-8"
|
|
|
|
'';
|
|
|
|
|
2017-05-31 01:30:24 +00:00
|
|
|
meta = {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/fonttools/fonttools;
|
2017-05-31 01:30:24 +00:00
|
|
|
description = "A library to manipulate font files from Python";
|
|
|
|
};
|
|
|
|
}
|