2019-05-06 21:42:31 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2017-05-31 02:30:24 +01:00
|
|
|
, fetchPypi
|
2019-12-22 23:47:49 +00:00
|
|
|
, isPy27
|
2017-05-31 02:30:24 +01:00
|
|
|
, numpy
|
|
|
|
, pytest
|
|
|
|
, pytestrunner
|
2018-03-02 02:21:19 +00:00
|
|
|
, glibcLocales
|
2017-05-31 02:30:24 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fonttools";
|
2020-08-16 18:30:59 +01:00
|
|
|
version = "4.13.0";
|
2019-12-22 23:47:49 +00:00
|
|
|
disabled = isPy27;
|
2017-05-31 02:30:24 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:30:59 +01:00
|
|
|
sha256 = "63987cd374c39a75146748f8be8637634221e53fef15cdf76f17777676d8545a";
|
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 = {
|
2020-04-01 02:11:51 +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";
|
2019-05-06 21:42:31 +01:00
|
|
|
license = lib.licenses.mit;
|
2017-05-31 02:30:24 +01:00
|
|
|
};
|
|
|
|
}
|