forked from mirrors/nixpkgs
38 lines
611 B
Nix
38 lines
611 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
, pytest
|
|
, pytestrunner
|
|
, glibcLocales
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fonttools";
|
|
version = "3.24.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d09126f443bc8797d1b7e76274e65f4c169c04722745953ecf536451b1d9a15f";
|
|
extension = "zip";
|
|
};
|
|
|
|
buildInputs = [
|
|
numpy
|
|
];
|
|
|
|
checkInputs = [
|
|
pytest
|
|
pytestrunner
|
|
glibcLocales
|
|
];
|
|
|
|
preCheck = ''
|
|
export LC_ALL="en_US.UTF-8"
|
|
'';
|
|
|
|
meta = {
|
|
homepage = https://github.com/fonttools/fonttools;
|
|
description = "A library to manipulate font files from Python";
|
|
};
|
|
}
|