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-11-09 09:03:14 +00:00
|
|
|
version = "3.32.0";
|
2017-05-31 01:30:24 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-09 09:03:14 +00:00
|
|
|
sha256 = "16cg5v50x905c0dr34wqk70b0n3mqzp41iir2rd73f31d1z9jndq";
|
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";
|
|
|
|
};
|
|
|
|
}
|