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