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