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

38 lines
611 B
Nix
Raw Normal View History

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