2017-05-31 02:30:24 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, pytest
|
|
|
|
, pytestrunner
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fonttools";
|
2017-06-19 12:43:19 +01:00
|
|
|
version = "3.13.1";
|
2017-05-31 02:30:24 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-06-19 12:43:19 +01:00
|
|
|
sha256 = "ded1f9a6cdd6ed19a3df05ae40066d579ffded17369b976f9e701cf31b7b1f2d";
|
2017-05-31 02:30:24 +01:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
pytestrunner
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/fonttools/fonttools";
|
|
|
|
description = "A library to manipulate font files from Python";
|
|
|
|
};
|
|
|
|
}
|