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

38 lines
599 B
Nix
Raw Normal View History

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