3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/fonttools/default.nix

42 lines
681 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
2017-05-31 02:30:24 +01:00
, fetchPypi
, 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-06-06 07:47:08 +01:00
version = "4.11.0";
disabled = isPy27;
2017-05-31 02:30:24 +01:00
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:08 +01:00
sha256 = "7fe5937206099ef284055b8c94798782e0993a740eed87f0dd262ed9870788aa";
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";
license = lib.licenses.mit;
2017-05-31 02:30:24 +01:00
};
}