nixpkgs/pkgs/development/python-modules/fonttools/default.nix

38 lines
611 B
Nix
Raw Normal View History

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-06-21 06:37:16 +01:00
version = "3.28.0";
2017-05-31 02:30:24 +01:00
src = fetchPypi {
inherit pname version;
2018-06-21 06:37:16 +01:00
sha256 = "ebf2ee25a6060e8551880a3b05d6ecadcdcfbd1b32fc272ff7b3acdb22945b6f";
2017-05-31 02:30:24 +01:00
extension = "zip";
};
buildInputs = [
numpy
];
checkInputs = [
pytest
pytestrunner
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 = {
homepage = https://github.com/fonttools/fonttools;
2017-05-31 02:30:24 +01:00
description = "A library to manipulate font files from Python";
};
}