mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:28:51 +00:00
38 lines
611 B
Nix
38 lines
611 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
, pytest
|
|
, pytestrunner
|
|
, glibcLocales
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fonttools";
|
|
version = "3.29.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a687ca070daddb7ee25e3472b631acd0e53dbf11ecdf8e76248ee556472ede9d";
|
|
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";
|
|
};
|
|
}
|