forked from mirrors/nixpkgs
19030473ba
https://github.com/fonttools/fonttools/releases/tag/3.38.0 https://github.com/fonttools/fonttools/releases/tag/3.39.0
38 lines
599 B
Nix
38 lines
599 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
, pytest
|
|
, pytestrunner
|
|
, glibcLocales
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fonttools";
|
|
version = "3.39.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0hgv83b4nhk2bl33xa41x0xvsl2b138p974ywkglzckp1123a7z2";
|
|
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";
|
|
};
|
|
}
|