7f6baacadd
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-fonttools/versions
38 lines
599 B
Nix
38 lines
599 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
, pytest
|
|
, pytestrunner
|
|
, glibcLocales
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fonttools";
|
|
version = "3.40.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "11x7kjkwk7in84wjvqlbbp4rshj6m8c4259j5z39x16l9smg5idi";
|
|
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";
|
|
};
|
|
}
|